forked from OSchip/llvm-project
[asan] Fix sanitizer_allocator_test on AArch64.
llvm-svn: 242582
This commit is contained in:
parent
88558e22b0
commit
fdcaafa2b8
|
|
@ -40,6 +40,8 @@ typedef SizeClassAllocator64<
|
|||
kAllocatorSpace, kAllocatorSize, 16, CompactSizeClassMap> Allocator64Compact;
|
||||
#elif defined(__mips64)
|
||||
static const u64 kAddressSpaceSize = 1ULL << 40;
|
||||
#elif defined(__aarch64__)
|
||||
static const u64 kAddressSpaceSize = 1ULL << 39;
|
||||
#else
|
||||
static const u64 kAddressSpaceSize = 1ULL << 32;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue