[PATCH] D45100: [LLVM-C] Finish exception instruction bindings - Round 2

Robert Widmann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 30 10:41:22 PDT 2018


CodaFi created this revision.
CodaFi added a reviewer: whitequark.
Herald added a reviewer: deadalnix.
Herald added a subscriber: llvm-commits.

Previous revision caused a leak in the echo test that got caught by the ASAN bots because of missing free of the handlers array and was reverted in r328759.  Resubmitting the patch with that correction.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D45100

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45100.140454.patch
Type: text/x-patch
Size: 15247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180330/0b0b89ff/attachment.bin>


More information about the llvm-commits mailing list