[llvm] e09c958 - [llvm-profdata] Add some missing options to docs

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 15:20:12 PDT 2022


Author: Ellis Hoag
Date: 2022-10-06T15:20:03-07:00
New Revision: e09c958dcccf7b62824c03e155e53f07783ace06

URL: https://github.com/llvm/llvm-project/commit/e09c958dcccf7b62824c03e155e53f07783ace06
DIFF: https://github.com/llvm/llvm-project/commit/e09c958dcccf7b62824c03e155e53f07783ace06.diff

LOG: [llvm-profdata] Add some missing options to docs

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

Added: 
    

Modified: 
    llvm/docs/CommandGuide/llvm-profdata.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CommandGuide/llvm-profdata.rst b/llvm/docs/CommandGuide/llvm-profdata.rst
index e99593e58a245..e3850c69cb203 100644
--- a/llvm/docs/CommandGuide/llvm-profdata.rst
+++ b/llvm/docs/CommandGuide/llvm-profdata.rst
@@ -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:


        


More information about the llvm-commits mailing list