This is an archive of the discontinued LLVM Phabricator instance.

[WinEH] Put funclet bundles on inline asm calls
ClosedPublic

Authored by rnk on Feb 7 2018, 11:18 AM.

Details

Summary

Fixes PR36247, which is where WinEHPrepare replaces inline asm in
funclets with unreachable.

Make getBundlesForFunclet return by value to simplify some call sites.

Event Timeline

rnk created this revision.Feb 7 2018, 11:18 AM

LGTM, but I'd like @majnemer to take a look, since I'm not very familiar with this code.

This revision is now accepted and ready to land.Feb 7 2018, 11:41 PM
This revision was automatically updated to reflect the committed changes.