Skip to content

Commit

Permalink
[compiler-rt] Allow Fuchsia to use 64-bit allocator for RISCV (#68343)
Browse files Browse the repository at this point in the history
The allocator should be tuned well enough for Fuchsia+RISCV.
  • Loading branch information
PiJoules committed Oct 6, 2023
1 parent 7f9a50f commit a4d51e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler-rt/lib/sanitizer_common/sanitizer_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4d51e5

Please sign in to comment.