This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][Wrapper] Fix off-by-one in find_section upper limit
ClosedPublic

Authored by jobnoorman on Apr 24 2023, 2:40 AM.

Details

Summary

find_section used to match offsets equal to file_offset + size causing
offsets to sometimes be attributed to the wrong section.

Diff Detail

Event Timeline

jobnoorman created this revision.Apr 24 2023, 2:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 24 2023, 2:40 AM
jobnoorman requested review of this revision.Apr 24 2023, 2:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 24 2023, 2:40 AM

Friendly ping.

Amir accepted this revision.May 15 2023, 12:11 PM
This revision is now accepted and ready to land.May 15 2023, 12:11 PM
This revision was landed with ongoing or failed builds.May 16 2023, 12:25 AM
This revision was automatically updated to reflect the committed changes.