This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] LongJmp: Check for shouldEmit
ClosedPublic

Authored by yota9 on Mar 20 2022, 6:14 AM.

Details

Summary

Check that the function will be emitted in the final binary. Preserving
old function address is needed in case it is PLT trampoline, it is
currently not moved by the BOLT.

Diff Detail

Event Timeline

yota9 created this revision.Mar 20 2022, 6:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 20 2022, 6:14 AM
Herald added a subscriber: ayermolo. · View Herald Transcript
yota9 requested review of this revision.Mar 20 2022, 6:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 20 2022, 6:14 AM
yota9 edited the summary of this revision. (Show Details)Mar 21 2022, 3:24 AM
This revision is now accepted and ready to land.Mar 31 2022, 9:35 AM
This revision was automatically updated to reflect the committed changes.