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;
|
kAllocatorSpace, kAllocatorSize, 16, CompactSizeClassMap> Allocator64Compact;
|
||||||
#elif defined(__mips64)
|
#elif defined(__mips64)
|
||||||
static const u64 kAddressSpaceSize = 1ULL << 40;
|
static const u64 kAddressSpaceSize = 1ULL << 40;
|
||||||
|
#elif defined(__aarch64__)
|
||||||
|
static const u64 kAddressSpaceSize = 1ULL << 39;
|
||||||
#else
|
#else
|
||||||
static const u64 kAddressSpaceSize = 1ULL << 32;
|
static const u64 kAddressSpaceSize = 1ULL << 32;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue