This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Fix merge-fdata handling of BAT profiles
ClosedPublic

Authored by rafauler on May 13 2022, 3:59 PM.

Details

Summary

When a profile is collected in a BOLTed binary, the generated
profile is tagged with a header string "boltedcollection" in the first
line of the fdata file. Fix merge-fdata to recognize this header
string and preserve it into the output.

Diff Detail

Event Timeline

rafauler created this revision.May 13 2022, 3:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2022, 3:59 PM
Herald added a subscriber: ayermolo. · View Herald Transcript
rafauler requested review of this revision.May 13 2022, 3:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2022, 3:59 PM
rafauler updated this revision to Diff 429379.May 13 2022, 4:01 PM

Fixed some typos

Amir accepted this revision.May 13 2022, 4:05 PM

LGTM

This revision is now accepted and ready to land.May 13 2022, 4:05 PM
This revision was automatically updated to reflect the committed changes.