OSDN Git Service

[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)
commite9c4ebc285a3acacd47210f2025631247c38cf6b
tree08eabc3ae5eef1c42cdfabaf10b0777b8b9e8fc1
parent8221cef0d7e4496e64c86ea461a31c52bbba9f8e
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328759 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Core.h
lib/IR/Core.cpp
test/Bindings/llvm-c/echo.ll
tools/llvm-c-test/echo.cpp