Re: A call to std::rethrow_exception prints Abort() error

2023-08-22 Thread Heejin Ahn
t; - throw C++ exception in JS >> > > I don't think it possible (or should be possible) to use a JS `throw` > statement to throw C++ exception.. C++ exceptions must be thrown by the > native `__cxa_throw` mechanism. In order words even if you have a handle > to C++ object you wa

Re: Debug info for 'this' pointer vanished from 3.1.24 to 3.1.26?

2022-12-15 Thread Heejin Ahn
I think this is likely to be an LLVM upstream problem than wasm-specific problem. If you have a reproducer, that'd be helpful as well. On Wed, Dec 7, 2022 at 1:02 PM Gregory Propf wrote: > Interesting. I didn't know about git bisect before so this is a good tool > to have. I mainly just wanted

Re: Trying to understand invoke_* wrappers

2018-10-11 Thread Heejin Ahn
nefit from, since go has no native exception mechanism) > the invoke_* wrappers so I'd still like to be able to disable their > generation if possible. > > On Wed, Oct 10, 2018 at 9:28 PM Heejin Ahn wrote: > >> They are generated for exception handling support. You can pass

Re: Trying to understand invoke_* wrappers

2018-10-10 Thread Heejin Ahn
They are generated for exception handling support. You can pass '-s DISABLE_EXCEPTION_CATCHING=1' to emcc, but I think this is already the default, so I'm not sure why you are getting that. On Wed, Oct 10, 2018 at 11:20 AM stephen.weber via emscripten-discuss <