Skip to content

Conversation

kateinoigakukun
Copy link
Member

This is just for building toolchain via xrepo CI

Some platforms (like non-Emscripten WebAssembly) do not have the concept of a "return address" in the same way that other platforms do, and `__builtin_return_address` is unavailable.
This change makes `-fsanitize=address` available for WASI target by replicating what we do for Emscripten because they share the same memory model.
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.
This reverts commit 2a6551e859d1757aa1ef06fc371dd37d971d4275.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant