summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-10-29 15:16:54 +0000
committerKostya Serebryany <kcc@google.com>2013-10-29 15:16:54 +0000
commit3f8ce73999c1ef82a8a835e9e87b0d4ce8c5810b (patch)
tree9c5a743520b51e38ddce2e5d5783ec6fba5b1779
parent5cf2c460e96e593b1c772f1b02d3a217f4837fdc (diff)
downloadcompiler-rt-3f8ce73999c1ef82a8a835e9e87b0d4ce8c5810b.tar.gz
compiler-rt-3f8ce73999c1ef82a8a835e9e87b0d4ce8c5810b.tar.bz2
compiler-rt-3f8ce73999c1ef82a8a835e9e87b0d4ce8c5810b.tar.xz
[asan] increase the max malloc size from 8Gb to 64Gb
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193615 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/asan/asan_allocator2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_allocator2.cc b/lib/asan/asan_allocator2.cc
index 162a4262..d6d7d94d 100644
--- a/lib/asan/asan_allocator2.cc
+++ b/lib/asan/asan_allocator2.cc
@@ -94,7 +94,7 @@ AllocatorCache *GetAllocatorCache(AsanThreadLocalMallocStorage *ms) {
static Allocator allocator;
static const uptr kMaxAllowedMallocSize =
- FIRST_32_SECOND_64(3UL << 30, 8UL << 30);
+ FIRST_32_SECOND_64(3UL << 30, 64UL << 30);
static const uptr kMaxThreadLocalQuarantine =
FIRST_32_SECOND_64(1 << 18, 1 << 20);