This is an archive of the discontinued LLVM Phabricator instance.

[llvm-profdata] Rename show flag to --show-format
ClosedPublic

Authored by ellis on Oct 7 2022, 10:33 AM.

Details

Summary

In https://reviews.llvm.org/D135127 we created the show flag
--output-format which was confusing because it behaved differently
than the same flag in the merge command. So, rename the flag to
--show-format. This also allows us to add the text option to mean
"normal text output" rather than "text-encoded profiles" like it does
for the merge command.

Diff Detail

Event Timeline

ellis created this revision.Oct 7 2022, 10:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 7 2022, 10:33 AM
Herald added subscribers: Enna1, wenlei. · View Herald Transcript
ellis requested review of this revision.Oct 7 2022, 10:33 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 7 2022, 10:33 AM
Herald added subscribers: llvm-commits, Restricted Project. · View Herald Transcript
wenlei accepted this revision.Oct 7 2022, 11:12 AM

lgtm, thanks.

llvm/tools/llvm-profdata/llvm-profdata.cpp
2703–2704

nit: OFormat was short for OutputFormat?

This revision is now accepted and ready to land.Oct 7 2022, 11:12 AM
ellis updated this revision to Diff 466138.Oct 7 2022, 11:34 AM

Rename OFormat to SFormat.

This revision was landed with ongoing or failed builds.Oct 7 2022, 11:35 AM
This revision was automatically updated to reflect the committed changes.