Unverified Commit a4d51e5b authored by PiJoules's avatar PiJoules Committed by GitHub
Browse files

[compiler-rt] Allow Fuchsia to use 64-bit allocator for RISCV (#68343)

The allocator should be tuned well enough for Fuchsia+RISCV.
parent 7f9a50ff
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -284,7 +284,8 @@
// For such platforms build this code with -DSANITIZER_CAN_USE_ALLOCATOR64=0 or
// change the definition of SANITIZER_CAN_USE_ALLOCATOR64 here.
#ifndef SANITIZER_CAN_USE_ALLOCATOR64
#  if SANITIZER_RISCV64 || SANITIZER_IOS || SANITIZER_DRIVERKIT
#  if (SANITIZER_RISCV64 && !SANITIZER_FUCHSIA) || SANITIZER_IOS || \
      SANITIZER_DRIVERKIT
#    define SANITIZER_CAN_USE_ALLOCATOR64 0
#  elif defined(__mips64) || defined(__hexagon__)
#    define SANITIZER_CAN_USE_ALLOCATOR64 0