This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Split out handleRelocation
ClosedPublic

Authored by Amir on Aug 17 2022, 3:32 PM.

Details

Summary

Split out the body of a for-loop in RewriteInstance::readRelocations into a
separate function (handleRelocation). It's still over 300 lines of code,
so it's worth splitting down further.

Diff Detail

Event Timeline

Amir created this revision.Aug 17 2022, 3:32 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
Amir requested review of this revision.Aug 17 2022, 3:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2022, 3:32 PM
This revision is now accepted and ready to land.Aug 17 2022, 6:31 PM
This revision was automatically updated to reflect the committed changes.