Add support for cleanupret, catchret, catchpad, cleanuppad and catchswitch and their associated accessors.
Test is modified from SimplifyCFG because it contains many diverse usages of these instructions.
Paths
| Differential D44496
[LLVM-C] Finish exception instruction bindings ClosedPublic Authored by CodaFi on Mar 14 2018, 2:56 PM.
Details Summary Add support for cleanupret, catchret, catchpad, cleanuppad and catchswitch and their associated accessors. Test is modified from SimplifyCFG because it contains many diverse usages of these instructions.
Diff Detail
Event TimelineComment Actions This looks reasonable to me, but I'm not familiar with funclet EH, so I'd like someone else to take a second look.
This revision is now accepted and ready to land.Mar 28 2018, 3:46 PM Closed by commit rL328759: [LLVM-C] Finish exception instruction bindings (authored by CodaFi). · Explain WhyMar 28 2018, 8:47 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 138455 include/llvm-c/Core.h
lib/IR/Core.cpp
test/Bindings/llvm-c/echo.ll
tools/llvm-c-test/echo.cpp
|
Nit: I think this comment isn't valid anymore. Also below.