Skip to content

Commit

Permalink
Reapply "[compiler-rt] Allow Fuchsia to use 64-bit allocator for RISCV (
Browse files Browse the repository at this point in the history
#68343)"

This reverts commit 37432c1.

The tunings for the lsan allocator for Fuchsia on RISCV should be
adjusted.
  • Loading branch information
PiJoules committed Oct 24, 2023
1 parent f8058a3 commit bac3808
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 bac3808

Please sign in to comment.