Skip to content

Commit 37432c1

Browse files
committed
Revert "[compiler-rt] Allow Fuchsia to use 64-bit allocator for RISCV (#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.
1 parent 3548b79 commit 37432c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_platform.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,7 @@
284284
// For such platforms build this code with -DSANITIZER_CAN_USE_ALLOCATOR64=0 or
285285
// change the definition of SANITIZER_CAN_USE_ALLOCATOR64 here.
286286
#ifndef SANITIZER_CAN_USE_ALLOCATOR64
287-
# if (SANITIZER_RISCV64 && !SANITIZER_FUCHSIA) || SANITIZER_IOS || \
288-
SANITIZER_DRIVERKIT
287+
# if SANITIZER_RISCV64 || SANITIZER_IOS || SANITIZER_DRIVERKIT
289288
# define SANITIZER_CAN_USE_ALLOCATOR64 0
290289
# elif defined(__mips64) || defined(__hexagon__)
291290
# define SANITIZER_CAN_USE_ALLOCATOR64 0

0 commit comments

Comments
 (0)