Revert "[Sanitizers] Modified __aarch64__ to use the 64 bit version of the allocator."
authorVitaly Buka <vitalybuka@google.com>
Wed, 2 Nov 2022 00:04:10 +0000 (17:04 -0700)
committerVitaly Buka <vitalybuka@google.com>
Wed, 2 Nov 2022 00:04:10 +0000 (17:04 -0700)
We need to land asan_allocator.h patches first.

This reverts commit 75a8cdbc0659dc20746f31721cc48ef00c49f746.

compiler-rt/lib/sanitizer_common/sanitizer_platform.h

index 7ecc465..32005ee 100644 (file)
 #ifndef SANITIZER_CAN_USE_ALLOCATOR64
 #  if (SANITIZER_ANDROID && defined(__aarch64__)) || SANITIZER_FUCHSIA
 #    define SANITIZER_CAN_USE_ALLOCATOR64 1
-#  elif defined(__mips64) || defined(__arm__) || defined(__i386__) || \
-      SANITIZER_RISCV64 || defined(__hexagon__)
+#  elif defined(__mips64) || defined(__aarch64__) || defined(__i386__) || \
+      defined(__arm__) || SANITIZER_RISCV64 || defined(__hexagon__)
 #    define SANITIZER_CAN_USE_ALLOCATOR64 0
 #  else
 #    define SANITIZER_CAN_USE_ALLOCATOR64 (SANITIZER_WORDSIZE == 64)