[llvm-profdata] Rename show flag to --show-format
authorEllis Hoag <ellis.sparky.hoag@gmail.com>
Fri, 7 Oct 2022 17:29:59 +0000 (10:29 -0700)
committerEllis Hoag <ellis.sparky.hoag@gmail.com>
Fri, 7 Oct 2022 18:35:07 +0000 (11:35 -0700)
commitea607d033aff54b8be0fcc6d4931b0bfc5ebb252
tree280d01c82307e6f31a5607b2c86068883e8130f1
parent696b8ea05fb18309bf3a68ae1d7e9d1659561ed8
[llvm-profdata] Rename show flag to --show-format

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.

Reviewed By: wenlei

Differential Revision: https://reviews.llvm.org/D135467
compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c
llvm/docs/CommandGuide/llvm-profdata.rst
llvm/test/tools/llvm-profdata/sample-profile-json.test
llvm/tools/llvm-profdata/llvm-profdata.cpp