HomePhabricator

[WebAssembly] Add WebAssemblyException information analysis

Authored by aheejin on Jun 24 2018, 6:20 PM.

Description

[WebAssembly] Add WebAssemblyException information analysis

Summary:
A WebAssemblyException object contains BBs that belong to a 'catch' part
of the try-catch-end structure. Because CFGSort requires all the BBs
within a catch part to be sorted together as it does for loops, this
pass calculates the nesting structure of catch part of exceptions in a
function. Now this assumes the use of Windows EH instructions.

Reviewers: dschuff, majnemer

Subscribers: jfb, mgorny, sbc100, jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D44134

llvm-svn: 335439

Details

Committed
aheejinJun 24 2018, 6:20 PM
Differential Revision
D44134: [WebAssembly] Add WebAssemblyException information analysis
Parents
rG4934f76b5840: [WebAssembly] Add WebAssemblyLateEHPrepare pass
Branches
Unknown
Tags
Unknown