This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Sort CallSiteInfo targets by symbol name in YAMLWriter
ClosedPublic

Authored by Amir on Jun 12 2023, 10:49 AM.

Details

Summary

Align YAML and fdata profiles by sorting CallSiteInfo targets by symbol name,
aligning it to fdata. By default, YAML CallSiteInfo is sorted by function id,
which is the order of function in the binary.

Follow-up to D152731, aligning yaml vs fdata, and in turn all three between to
each other.

Diff Detail

Event Timeline

Amir created this revision.Jun 12 2023, 10:49 AM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Jun 12 2023, 10:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2023, 10:49 AM
Amir added a comment.Jun 15 2023, 8:20 PM

Ping @maksfb. This diff is a part of yaml vs fdata alignment.

This revision is now accepted and ready to land.Jun 20 2023, 3:07 PM