Page MenuHomePhabricator

[WebAssembly] Add WasmEHFuncInfo for unwind destination information
ClosedPublic

Authored by aheejin on Jun 17 2018, 12:33 AM.

Details

Summary

Add WasmEHFuncInfo and routines to calculate and fill in this struct to
keep track of unwind destination information. This will be used in
other EH related passes.

Diff Detail

Repository
rL LLVM

Event Timeline

aheejin created this revision.Jun 17 2018, 12:33 AM
aheejin retitled this revision from [WebAssembly] Add WasmEHFuncInfo for unwind destination infomation to [WebAssembly] Add WasmEHFuncInfo for unwind destination information.Jun 17 2018, 2:28 AM
dschuff added inline comments.Jun 18 2018, 3:05 PM
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
313 ↗(On Diff #151634)

Could make this an 'else if' just to make it really clear that only one of these will happen.

aheejin updated this revision to Diff 151813.Jun 18 2018, 4:11 PM
aheejin marked an inline comment as done.
  • if -> else if
dschuff accepted this revision.Jun 18 2018, 5:18 PM
This revision is now accepted and ready to land.Jun 18 2018, 5:18 PM
This revision was automatically updated to reflect the committed changes.