[llvm-profdata] Add some missing options to docs
authorEllis Hoag <ellis.sparky.hoag@gmail.com>
Thu, 6 Oct 2022 22:17:30 +0000 (15:17 -0700)
committerEllis Hoag <ellis.sparky.hoag@gmail.com>
Thu, 6 Oct 2022 22:20:03 +0000 (15:20 -0700)
I forgot to add documentation for these options when I added them to the `show` command, so add them now.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D135383

llvm/docs/CommandGuide/llvm-profdata.rst

index e99593e..e3850c6 100644 (file)
@@ -320,6 +320,17 @@ OPTIONS
  Show basic information about each section in the profile. This option is
  only meaningful for sample-based profile in extbinary format.
 
+.. option:: --debug-info=<path>
+
+ Specify the executable or ``.dSYM`` that contains debug info for the raw profile.
+ When ``-debug-info-correlate`` was used for instrumentation, use this option
+ to show the correlated functions from the raw profile.
+
+.. option:: --covered
+
+ Show only the functions that have been executed, i.e., functions with non-zero
+ counts.
+
 .. program:: llvm-profdata overlap
 
 .. _profdata-overlap: