diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2016-12-22 21:43:22 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2016-12-22 21:43:22 +0000 |
| commit | 37db58e9ebcaf7ea53e6034f5603774853b4e4dc (patch) | |
| tree | 6b52e10a235db541129e6a78f409fe8b597afeb9 /compiler-rt/lib/asan/asan_allocator.h | |
| parent | 0b26e47345e48335c2c7e390fbb3b409b9f0285a (diff) | |
| download | bcm5719-llvm-37db58e9ebcaf7ea53e6034f5603774853b4e4dc.tar.gz bcm5719-llvm-37db58e9ebcaf7ea53e6034f5603774853b4e4dc.zip | |
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
Diffstat (limited to 'compiler-rt/lib/asan/asan_allocator.h')
| -rw-r--r-- | compiler-rt/lib/asan/asan_allocator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/asan_allocator.h b/compiler-rt/lib/asan/asan_allocator.h index 62415f33eea..51de6785872 100644 --- a/compiler-rt/lib/asan/asan_allocator.h +++ b/compiler-rt/lib/asan/asan_allocator.h @@ -33,6 +33,7 @@ struct AsanChunk; struct AllocatorOptions { u32 quarantine_size_mb; + u32 thread_local_quarantine_size_kb; u16 min_redzone; u16 max_redzone; u8 may_return_null; |

