summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-12-26 13:54:11 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-12-26 13:54:11 +0000
commit103084691d447945df14f203227f1e8eebbbb873 (patch)
treea778f4f33e1d7aa0e0aa6d196771aa138f3d3750 /compiler-rt
parentda02effd9e0947b4bd19ee9b6420bf3b5905cdff (diff)
downloadbcm5719-llvm-103084691d447945df14f203227f1e8eebbbb873.tar.gz
bcm5719-llvm-103084691d447945df14f203227f1e8eebbbb873.zip
[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. llvm-svn: 224855
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc b/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc
index eb3d243c0ec..a00109a4299 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc
+++ b/compiler-rt/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;
OpenPOWER on IntegriCloud