[LLVM-C] Finish exception instruction bindings
authorRobert Widmann <devteam.codafi@gmail.com>
Thu, 29 Mar 2018 03:43:15 +0000 (03:43 +0000)
committerRobert Widmann <devteam.codafi@gmail.com>
Thu, 29 Mar 2018 03:43:15 +0000 (03:43 +0000)
commit6775f52fe00bc02355075de0b190e8c50f765018
tree1e24f5f8390227df853409285218976884c5ca8b
parentf8aa23879e4719fbb040c59276dfec8f4854f9a1
[LLVM-C] Finish exception instruction bindings

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.

Reviewers: whitequark, deadalnix, echristo

Reviewed By: echristo

Subscribers: llvm-commits, harlanhaskins

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

llvm-svn: 328759
llvm/include/llvm-c/Core.h
llvm/lib/IR/Core.cpp
llvm/test/Bindings/llvm-c/echo.ll
llvm/tools/llvm-c-test/echo.cpp