This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Properly set _end symbol
ClosedPublic

Authored by maksfb on Oct 3 2022, 6:14 PM.

Details

Summary

To properly set the "_end" symbol, we need to track the last allocatable
address. Simply emitting "_end" at the end of some section is not
sufficient since the order of section allocation is unknown during the
emission step.

Diff Detail

Event Timeline

maksfb created this revision.Oct 3 2022, 6:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2022, 6:14 PM
Herald added a subscriber: treapster. · View Herald Transcript
maksfb requested review of this revision.Oct 3 2022, 6:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 3 2022, 6:14 PM
rafauler accepted this revision.Oct 5 2022, 3:25 PM

LGTM

This revision is now accepted and ready to land.Oct 5 2022, 3:25 PM
This revision was automatically updated to reflect the committed changes.