Skip to content

Commit

Permalink
Revert "[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 a4d51e5.

Reverting since this breaks the lsan-test on fuchsia riscv builders. I
had adjusted settings for the 64-bit allocator for asan, but forgot
about standalone lsan and need to do that also.
  • Loading branch information
PiJoules committed Oct 9, 2023
1 parent 3548b79 commit 37432c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler-rt/lib/sanitizer_common/sanitizer_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@
// 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_FUCHSIA) || SANITIZER_IOS || \
SANITIZER_DRIVERKIT
# if SANITIZER_RISCV64 || 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 37432c1

Please sign in to comment.