This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Make exception handling fragment aware
ClosedPublic

Authored by FPar on Jul 25 2022, 2:42 PM.

Details

Summary

This adds basic fragment awareness in the exception handling passes and
generates the necessary symbols for fragments.

Diff Detail

Event Timeline

FPar created this revision.Jul 25 2022, 2:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2022, 2:42 PM
Herald added a subscriber: ayermolo. · View Herald Transcript
FPar requested review of this revision.Jul 25 2022, 2:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2022, 2:42 PM
FPar removed a subscriber: ayermolo.
FPar updated this revision to Diff 447891.Jul 26 2022, 5:08 PM

Improve error messages

Removed check in BinaryEmitter, because it is too noisy and probably not even necessary.

FPar updated this revision to Diff 449062.Aug 1 2022, 9:57 AM

Rebase

FPar edited the summary of this revision. (Show Details)Aug 16 2022, 1:48 PM
FPar removed reviewers: ayermolo, zr33, nhuhuan, spupyrev.
FPar added subscribers: spupyrev, ayermolo.
FPar updated this revision to Diff 453116.Aug 16 2022, 1:48 PM

Cleanup

rafauler accepted this revision.Aug 17 2022, 5:11 PM

LGTM

bolt/lib/Core/BinaryFunction.cpp
1579–1581

Why are we not putting all end labels here?

2850–2852

Why are we not putting all end labels here?

This revision is now accepted and ready to land.Aug 17 2022, 5:11 PM
FPar updated this revision to Diff 453872.Aug 18 2022, 9:44 PM

Mark all end labels undefined

This revision was landed with ongoing or failed builds.Aug 18 2022, 9:56 PM
This revision was automatically updated to reflect the committed changes.