diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2016-12-21 00:18:10 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2016-12-21 00:18:10 +0000 |
commit | 1a21263a89bec0b159494e64adfcd988b72b6795 (patch) | |
tree | fff4854034866b9dba6b86384c60b2f47228ca80 /compiler-rt/lib/asan/asan_internal.h | |
parent | be1557ac32ff1a79cf1a8bdbeb9b963783c11299 (diff) | |
download | bcm5719-llvm-1a21263a89bec0b159494e64adfcd988b72b6795.tar.gz bcm5719-llvm-1a21263a89bec0b159494e64adfcd988b72b6795.zip |
Reduce the size of quarantine cache in ASAN_LOW_MEMORY configuration.
Summary:
Experiments show that on Android the current values result in too much
of the memory consumption for all quarantined chunks.
Reviewers: kcc, eugenis
Subscribers: mgorny, danalbert, srhines, llvm-commits, kubabrecka
Patch by Aleksey Shlyapnikov.
Differential Revision: https://reviews.llvm.org/D27873
llvm-svn: 290218
Diffstat (limited to 'compiler-rt/lib/asan/asan_internal.h')
-rw-r--r-- | compiler-rt/lib/asan/asan_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_internal.h b/compiler-rt/lib/asan/asan_internal.h index 84d7f0861a6..a3fe062f73f 100644 --- a/compiler-rt/lib/asan/asan_internal.h +++ b/compiler-rt/lib/asan/asan_internal.h @@ -36,7 +36,7 @@ // If set, values like allocator chunk size, as well as defaults for some flags // will be changed towards less memory overhead. #ifndef ASAN_LOW_MEMORY -# if SANITIZER_IOS || (SANITIZER_WORDSIZE == 32) +# if SANITIZER_IOS || SANITIZER_ANDROID # define ASAN_LOW_MEMORY 1 # else # define ASAN_LOW_MEMORY 0 |