Expose thread local quarantine size as ASAN option.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 22 Dec 2016 21:43:22 +0000 (21:43 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 22 Dec 2016 21:43:22 +0000 (21:43 +0000)
commit37db58e9ebcaf7ea53e6034f5603774853b4e4dc
tree6b52e10a235db541129e6a78f409fe8b597afeb9
parent0b26e47345e48335c2c7e390fbb3b409b9f0285a
Expose thread local quarantine size as ASAN option.

Summary: Make thread local quarantine size an option so it can be turned off to save memory.

Reviewers: eugenis

Patch by Alex Shlyapnikov.

Subscribers: kubabrecka, llvm-commits

Differential Revision: https://reviews.llvm.org/D28027

llvm-svn: 290373
compiler-rt/lib/asan/asan_allocator.cc
compiler-rt/lib/asan/asan_allocator.h
compiler-rt/lib/asan/asan_flags.cc
compiler-rt/lib/asan/asan_flags.inc
compiler-rt/lib/asan/asan_rtl.cc
compiler-rt/lib/sanitizer_common/sanitizer_quarantine.h
compiler-rt/test/asan/TestCases/Linux/thread_local_quarantine_size_kb.cc [new file with mode: 0644]