Skip to content

Commit 7ee907d

Browse files
[ASan] Stop installing .syms files on WASI
The `.syms` files are passed to the linker with `--dynamic-list=` if the file exists, but the linker option is not supported on wasm-ld.
1 parent 37dce77 commit 7ee907d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ else()
458458
set(SANITIZER_LIMIT_FRAME_SIZE FALSE)
459459
endif()
460460

461-
if(FUCHSIA OR UNIX)
461+
if((FUCHSIA OR UNIX) AND NOT CMAKE_SYSTEM_NAME STREQUAL "WASI")
462462
set(SANITIZER_USE_SYMBOLS TRUE)
463463
else()
464464
set(SANITIZER_USE_SYMBOLS FALSE)

0 commit comments

Comments
 (0)