[libunwind] [libunwind] Enable wasm target for exceptions (PR #168449)

Christof Petig via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 19 05:54:07 PST 2026


================
@@ -254,6 +254,8 @@ aliasname:                                                                     \
 #define NO_EXEC_STACK_DIRECTIVE
 
 // clang-format on
+#elif defined(__wasm__)
+
----------------
cpetig wrote:

In my version of llvm (76dac58) `#include "assembly.h"` is guarded with `#if !defined(__wasm__)` in `in `libunwind/src/UnwindRegisterSave.S` and `...Restore.S`, so this change might no longer be necessary.

https://github.com/llvm/llvm-project/pull/168449


More information about the cfe-commits mailing list