Skip to content

Commit fdcaafa

Browse files
committed
[asan] Fix sanitizer_allocator_test on AArch64.
llvm-svn: 242582
1 parent 88558e2 commit fdcaafa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ typedef SizeClassAllocator64<
4040
kAllocatorSpace, kAllocatorSize, 16, CompactSizeClassMap> Allocator64Compact;
4141
#elif defined(__mips64)
4242
static const u64 kAddressSpaceSize = 1ULL << 40;
43+
#elif defined(__aarch64__)
44+
static const u64 kAddressSpaceSize = 1ULL << 39;
4345
#else
4446
static const u64 kAddressSpaceSize = 1ULL << 32;
4547
#endif

0 commit comments

Comments
 (0)