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

Ellis Hoag via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 11:25:31 PDT 2022


ellis created this revision.
Herald added a project: All.
ellis requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

I forgot to add documentation for these options when I added them to the `show` command, so add them now.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135383

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


Index: llvm/docs/CommandGuide/llvm-profdata.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-profdata.rst
+++ llvm/docs/CommandGuide/llvm-profdata.rst
@@ -316,6 +316,17 @@
  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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135383.465806.patch
Type: text/x-patch
Size: 804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221006/5f88b28b/attachment.bin>


More information about the llvm-commits mailing list