This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Change --call-graph-profile-sort to accept an argument
ClosedPublic

Authored by MaskRay on Sep 22 2023, 10:54 AM.

Details

Summary

Change the FF form --call-graph-profile-sort to --call-graph-profile-sort={none,hfsort}.
This will be extended to support llvm/lib/Transforms/Utils/CodeLayout.cpp.

--call-graph-profile-sort is not used in the wild but
--no-call-graph-profile-sort is (Chromium). Make --no-call-graph-profile-sort an
alias for --call-graph-profile-sort=none.

Diff Detail

Event Timeline

MaskRay created this revision.Sep 22 2023, 10:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2023, 10:54 AM
MaskRay requested review of this revision.Sep 22 2023, 10:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2023, 10:54 AM
rahmanl accepted this revision.Sep 22 2023, 11:21 AM
This revision is now accepted and ready to land.Sep 22 2023, 11:21 AM