================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits