[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
llvm-svn: 176857
This commit is contained in:
parent
c9a72919a5
commit
67b1478914
|
@ -61,7 +61,7 @@ const uptr kAllocatorSpace = 0xa0000000000ULL;
|
|||
#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;
|
||||
|
|
Loading…
Reference in New Issue