asan-48bit-VMA-aarch64
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 21 Oct 2017 11:43:31 +0000 (12:43 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 21 Oct 2017 11:43:31 +0000 (12:43 +0100)
Gbp-Pq: Name asan-48bit-VMA-aarch64.patch

compiler-rt/lib/sanitizer_common/sanitizer_platform.h

index c31e631105806b277eaf43537a193b21cab7fe10..3f64e42d1f4c5cf77a64065139b740a5822b3ffe 100644 (file)
 // 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