[PATCH] D45559: [WebAssembly] Add Wasm personality and usesWindowsEHInstructions()

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 01:52:20 PDT 2018


aheejin created this revision.
aheejin added reviewers: majnemer, dschuff.
Herald added subscribers: llvm-commits, sunfish, JDevlieghere, eraman, jgravelle-google, sbc100, jfb.

- Add wasm personality function
- Re-categorize the existing `isFuncletEHPersonality()` function into

two different functions: `isFuncletEHPersonality()` and
`usesWindowsEHInstructions(). This becomes necessary as wasm EH uses
Windows EH instructions (catchswitch, catchpad/ret, and cleanuppad/ret)
but not funclets.


Repository:
  rL LLVM

https://reviews.llvm.org/D45559

Files:
  include/llvm/Analysis/EHPersonalities.h
  lib/Analysis/EHPersonalities.cpp
  lib/Analysis/MustExecute.cpp
  lib/CodeGen/DwarfEHPrepare.cpp
  lib/CodeGen/MachineVerifier.cpp
  lib/CodeGen/WinEHPrepare.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  lib/Transforms/Instrumentation/GCOVProfiling.cpp
  lib/Transforms/ObjCARC/ObjCARCContract.cpp
  lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  lib/Transforms/Utils/EscapeEnumerator.cpp
  lib/Transforms/Utils/InlineFunction.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45559.142129.patch
Type: text/x-patch
Size: 10090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180412/8a2d37cd/attachment.bin>


More information about the llvm-commits mailing list