Heejin Ahn

Results 151 comments of Heejin Ahn

The library code has been already upstreamed, as I commented in https://github.com/WebAssembly/wasi-sdk/issues/334#issuecomment-1730976179. But given that Emscripten uses our custom build system and not the LLVM's CMake build system, how it...

> > Indeed, llvm already uses wasm exception to implement SJLJ, when wasm exceptions are enabled, so it should just work once we enable exceptions. > > do you mean...

> It wouldn't make sense to say "Invoke the catch block with |payload| and |opaqueData|" but maybe it could say something like "Invoke the catch block with |payload|" and then...

Thanks for the comments! But more questions 😅: @rossberg > I think that we can model identity (and opacity) itself by assigning an external address to the payload and store...

Will close this given that this is not relevant anymore.

This example may help understanding: https://github.com/WebAssembly/exception-handling/issues/146#issuecomment-777714491

Added the example to the explainer too: #263

> thank you. so, in the following, N=1 and N=0 refer the same exception? No. > ```wast > try > throw $tag1 > catch_all ;; N == 1 will rethrow...

Oh, you are talking about the program as a whole... Yeah, the whole program ends up throwing the same exception for N == 0 and N == 1. What I...

Wasm EH's libcxxabi/libunwind changes have now been upstreamed: https://github.com/llvm/llvm-project/commit/e6cbba749490a20127359a3fbd05d8db7faef535 https://github.com/llvm/llvm-project/commit/058222b2316615194c089f2bc68d11341f39d26e