sbc100 wrote: Oh I see, `libunwind/src/assembly.h` is only used by `libunwind/src/UnwindRegistersRestore.S` and `libunwind/src/UnwindRegistersSave.S` which themselves should be no-op under wasm and we just don't compile those in emscripten.
I wonder if we should instead widen the `#if !defined(__USING_SJLJ_EXCEPTIONS__) && !defined(__wasm__)` guard on those assembly files to include the entire file? It seems like they should be 100% no-op in those cases? https://github.com/llvm/llvm-project/pull/185770 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
