From: LLVM Packaging Team Date: Fri, 2 Jun 2017 13:11:29 +0000 (+0000) Subject: asan-48bit-VMA-aarch64 X-Git-Tag: archive/raspbian/1%3.8.1-24+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bc5a714fd70274eff5786be5d0e1ae99ef65abb5;p=llvm-toolchain-3.8.git asan-48bit-VMA-aarch64 Gbp-Pq: Name asan-48bit-VMA-aarch64.patch --- diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h index c31e6311..3f64e42d 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h @@ -114,6 +114,8 @@ // will still work but will consume more memory for TwoLevelByteMap. #if defined(__mips__) # define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 40) +#elif defined(__aarch64__) +# define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 48) #else # define SANITIZER_MMAP_RANGE_SIZE FIRST_32_SECOND_64(1ULL << 32, 1ULL << 47) #endif