This is an archive of the discontinued LLVM Phabricator instance.

[LLVM-C] Finish exception instruction bindings - Round 2
ClosedPublic

Authored by CodaFi on Mar 30 2018, 10:41 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

CodaFi created this revision.Mar 30 2018, 10:41 AM
whitequark accepted this revision.Mar 30 2018, 10:49 AM

I would say in case of trivial changes like this you can just recommit it if you can confirm that it passes ASAN.

This revision is now accepted and ready to land.Mar 30 2018, 10:49 AM
This revision was automatically updated to reflect the committed changes.