[asan] use 4Tb of address space for the asan allocator instead of 1Tb. This increases the memory available for a single size class from 16Gb to 64Gb. The total VM footprint becomes 20Tb
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176857 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/asan/asan_allocator2.cc b/lib/asan/asan_allocator2.cc
index 9f665b0..3288f28 100644
--- a/lib/asan/asan_allocator2.cc
+++ b/lib/asan/asan_allocator2.cc
@@ -61,7 +61,7 @@
#else
const uptr kAllocatorSpace = 0x600000000000ULL;
#endif
-const uptr kAllocatorSize = 0x10000000000ULL; // 1T.
+const uptr kAllocatorSize = 0x40000000000ULL; // 4T.
typedef DefaultSizeClassMap SizeClassMap;
typedef SizeClassAllocator64<kAllocatorSpace, kAllocatorSize, 0 /*metadata*/,
SizeClassMap, AsanMapUnmapCallback> PrimaryAllocator;