Skip to content

Add Wasm SjLj support - #14976

Merged
aheejin merged 27 commits into
emscripten-core:mainfrom
aheejin:wasm_sjlj
Nov 1, 2021
Merged

aheejin merged 27 commits into
emscripten-core:mainfrom
aheejin:wasm_sjlj

Conversation

@aheejin

@aheejin aheejin commented Aug 31, 2021

Copy link
Copy Markdown
Member

This adds SjLj handling support using Wasm EH instructions:
https://github.com/WebAssembly/exception-handling/blob/master/proposals/exception-handling/Exceptions.md

This does not pass CI currently; it will pass after
https://reviews.llvm.org/D108960 lands. This does not yet support mixing
of EH and SjLj.

These are SjLj tests that I couldn't attach @with_both_sjlj_handling
and the reasons:

  • test_dlfcn_longjmp: Uses NodeRAWFS
  • test_longjmp_throw: Mixes EH and SjLj
  • test_exceptions_longjmp1: Mixes EH and SjLj
  • test_exceptions_longjmp2: Mixes EH and SjLj
  • test_exceptions_longjmp3: Mixes EH and SjLj
  • test_longjmp: This currently uses @also_with_standalone_wasm, and
    it looks a test can't take two decorators when both of them take
    arguments, which is the case for @also_with_standalone_wasm and
    @with_both_sjlj_handling. Am I missing something?

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants