diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-12-26 13:54:11 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-12-26 13:54:11 +0000 |
commit | 21c4b9f2e94008b998fd48ec515b4ca0ae116caa (patch) | |
tree | 78047f16799a6cec834acf59ad63ad6338b8e19f /lib/sanitizer_common | |
parent | c776b523f52bf67c9e39e90fdc49746c7cee22a6 (diff) | |
download | compiler-rt-21c4b9f2e94008b998fd48ec515b4ca0ae116caa.tar.gz |
[asan] Bump coverage size limit on 32-bit platforms.
This increases the limit from 4M locations to 16M, reserving
64Mb virtual memory. Chrome has >5M unique coverage locations with coverage=3.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common')
-rw-r--r-- | lib/sanitizer_common/sanitizer_coverage_libcdep.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_coverage_libcdep.cc b/lib/sanitizer_common/sanitizer_coverage_libcdep.cc index eb3d243c0..a00109a42 100644 --- a/lib/sanitizer_common/sanitizer_coverage_libcdep.cc +++ b/lib/sanitizer_common/sanitizer_coverage_libcdep.cc @@ -87,7 +87,7 @@ class CoverageData { private: // Maximal size pc array may ever grow. // We MmapNoReserve this space to ensure that the array is contiguous. - static const uptr kPcArrayMaxSize = FIRST_32_SECOND_64(1 << 22, 1 << 27); + static const uptr kPcArrayMaxSize = FIRST_32_SECOND_64(1 << 24, 1 << 27); // The amount file mapping for the pc array is grown by. static const uptr kPcArrayMmapSize = 64 * 1024; |