This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Add support for exception handling instructions
ClosedPublic

Authored by aheejin on Jun 29 2017, 11:50 AM.

Details

Summary

This adds backend support for throw, rethrow, try, and try_end instructions.
This needs the corresponding clang builtin support:
https://reviews.llvm.org/D34783
This follows the Wasm exception handling proposal in
https://github.com/WebAssembly/exception-handling/blob/master/proposals/Exceptions.md

Event Timeline

aheejin created this revision.Jun 29 2017, 11:50 AM
aheejin retitled this revision from <<Replace this line with your revision title> [WebAssembly] Add support for exception handling instructions to [WebAssembly] Add support for exception handling instructions.Jun 29 2017, 11:50 AM
dschuff accepted this revision.Jun 29 2017, 1:35 PM
This revision is now accepted and ready to land.Jun 29 2017, 1:35 PM
aheejin closed this revision.Jun 29 2017, 5:43 PM