[asan] Fix sanitizer_allocator_test on AArch64.

llvm-svn: 242582
This commit is contained in:
Evgeniy Stepanov 2015-07-17 22:29:05 +00:00
parent 88558e22b0
commit fdcaafa2b8
1 changed files with 2 additions and 0 deletions

View File

@ -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