Reduce the size of quarantine cache in ASAN_LOW_MEMORY configuration.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 21 Dec 2016 00:18:10 +0000 (00:18 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 21 Dec 2016 00:18:10 +0000 (00:18 +0000)
commit1a21263a89bec0b159494e64adfcd988b72b6795
treefff4854034866b9dba6b86384c60b2f47228ca80
parentbe1557ac32ff1a79cf1a8bdbeb9b963783c11299
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
compiler-rt/lib/asan/CMakeLists.txt
compiler-rt/lib/asan/asan_allocator.cc
compiler-rt/lib/asan/asan_flags.cc
compiler-rt/lib/asan/asan_internal.h