[PATCH] D57134: [WebAssembly] Exception handling: Switch to the new proposal

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 28 14:33:07 PST 2019


aheejin updated this revision to Diff 183962.
aheejin marked an inline comment as done.
aheejin added a comment.

Some more fixes

- Address comments (Added br_on_exn in annotation.s and basic-assembly.s)
- Restored EHPadUnwindMap in WasmEHFuncInfo (Turns out we need this to set ThrowUnwindMap for new rethrows added in LateEHPrepare)
- Fix terminate pad handling in addExceptionExtraction in LateEHPrepare (we call `__clang_call_terminate` instead of rethrowing in terminate pads)


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57134/new/

https://reviews.llvm.org/D57134

Files:
  include/llvm/IR/IntrinsicsWebAssembly.td
  lib/CodeGen/AsmPrinter/WasmException.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/WasmEHPrepare.cpp
  lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp
  lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  lib/Target/WebAssembly/WebAssemblyEHRestoreStackPointer.cpp
  lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
  lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  lib/Target/WebAssembly/WebAssemblyISelLowering.h
  lib/Target/WebAssembly/WebAssemblyInstrControl.td
  lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
  lib/Target/WebAssembly/WebAssemblyInstrInfo.td
  lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
  lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  lib/Target/WebAssembly/WebAssemblyUtilities.cpp
  lib/Target/WebAssembly/WebAssemblyUtilities.h
  test/CodeGen/WebAssembly/annotations.mir
  test/CodeGen/WebAssembly/cfg-stackify-eh.ll
  test/CodeGen/WebAssembly/cfg-stackify-eh.mir
  test/CodeGen/WebAssembly/exception.ll
  test/CodeGen/WebAssembly/wasmehprepare.ll
  test/MC/WebAssembly/annotations.s
  test/MC/WebAssembly/basic-assembly.s
  unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57134.183962.patch
Type: text/x-patch
Size: 115025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190128/79cc6540/attachment.bin>


More information about the llvm-commits mailing list