Skip to content

Warning: _Unwind_RaiseException is not correctly implemented #24165

@Midar

Description

@Midar

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions