[all-commits] [llvm/llvm-project] ea607d: [llvm-profdata] Rename show flag to --show-format

Ellis Hoag via All-commits all-commits at lists.llvm.org
Fri Oct 7 11:35:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea607d033aff54b8be0fcc6d4931b0bfc5ebb252
      https://github.com/llvm/llvm-project/commit/ea607d033aff54b8be0fcc6d4931b0bfc5ebb252
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c
    M llvm/docs/CommandGuide/llvm-profdata.rst
    M llvm/test/tools/llvm-profdata/sample-profile-json.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list