Skip to content

Conversation

graalvmbot
Copy link
Collaborator

@graalvmbot graalvmbot commented Sep 24, 2025

Initial implementation of the Exception Handling proposal in GraalWasm.

Fixes #9764

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 24, 2025
@graalvmbot graalvmbot force-pushed the aw/GR-57593-exceptionhandling branch 9 times, most recently from cf3e7e7 to 3330407 Compare September 26, 2025 19:54
woess added 10 commits October 1, 2025 15:07
Move exceptionTableOffset field to WasmFunctionNode.
No need to emit exception table offset in instrumented bytecode array.
Throw on tag import and export identifiers if exception handling is disabled.
Fix reading more than one exception handler.
Fix exn_read: should return exception fields, not the tag.
Add exn_tag.
Fix tag count limit.
Fix THROW bytecode length.
Simplify ParserState.exit(), moving out TryTableFrame handling.
Use separate local for exceptionTableOffset.
Outline pushing exception fields and/or reference onto the stack.
@graalvmbot graalvmbot force-pushed the aw/GR-57593-exceptionhandling branch from 3330407 to e8f457f Compare October 1, 2025 13:54
@graalvmbot graalvmbot merged commit e724742 into master Oct 2, 2025
13 checks passed
@graalvmbot graalvmbot deleted the aw/GR-57593-exceptionhandling branch October 2, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GR-57593] Implement Exception Handling Proposal for WebAssembly
3 participants