emscripten-core / emscripten-core/emscripten
Warning: _Unwind_RaiseException is not correctly implemented
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
**Version of emscripten/emsdk:**
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.69 ()
Debian clang version 19.1.7 (3)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /usr/lib/llvm-19/bin
I'm currently trying to use exceptions in Objective-C using emscripten. I've already worked around the missing `_Unwind_GetIP` (why is this missing to begin with?) in my EH personality, however, ultimately, it fails as soon as an exception is actually thrown with:
`Warning: _Unwind_RaiseException is not correctly implemented`
With the core part of the unwinder missing for exceptions, how do C++ exceptions even work? How am I supposed to work around this? I've found `__throw_exception_with_stack_trace`, however, trying to use that, I get a linker error.
Contributor guide
Assessment
This issue has not been assessed yet.