From: LLVM Packaging Team Date: Sat, 21 Oct 2017 11:43:31 +0000 (+0100) Subject: asan-48bit-VMA-aarch64 X-Git-Tag: archive/raspbian/1%3.8.1-27+rpi1^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a2103d88c9218f0369fa9e3a0ab74d75de029a47;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