[clang] [libunwind] [lld] [llvm] [wasm] Toolchain support for `wasm32-wali-linux-musl` target (PR #156087)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 29 13:16:26 PDT 2025
================
@@ -249,6 +249,9 @@ aliasname: \
#define WEAK_ALIAS(name, aliasname)
#define NO_EXEC_STACK_DIRECTIVE
+#elif defined(__wasm__)
+#define NO_EXEC_STACK_DIRECTIVE
----------------
sbc100 wrote:
This file looks like its only being included from `UnwindRegistersRestore.S` and `UnwindRegistersSave.S`, neither of which looks like they have wasm support.
Maybe the `#if !defined(__USING_SJLJ_EXCEPTIONS__) && !defined(__wasm__)` should be moved up so this header doesn't get included instead?
https://github.com/llvm/llvm-project/pull/156087
More information about the llvm-commits
mailing list