[PATCH] D79911: [llvm-profdata] Update CommandGuide

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 13 16:57:20 PDT 2020


wmi updated this revision to Diff 263891.
wmi added a comment.

Address David's comment.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79911/new/

https://reviews.llvm.org/D79911

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
@@ -102,6 +102,13 @@
  Emit the profile using a binary encoding. For instrumentation-based profile
  the output format is the indexed binary format. 
 
+ .. option:: -extbinary
+
+ Emit the profile using an extensible binary encoding. This option can only
+ be used with sample-based profile. The extensible binary encoding can be
+ more compact with compression enabled and can be loaded faster than the
+ default binary encoding.
+
  .. option:: -text
 
  Emit the profile in text mode. This option can also be used with both
@@ -132,6 +139,28 @@
  invalid profiles is excluded from the final merged product. The default
  failure mode is 'any'.
 
+.. option:: -prof-sym-list=path
+
+ Specify a file which contains a list of symbols to generate profile symbol
+ list in the profile. This option can only be used with sample-based profile
+ in extbinary format. The entries in this file are newline-separated.
+
+.. option:: -compress-all-sections=[true|false]
+
+ Compress all sections when writing the profile. This option can only be used
+ with sample-based profile in extbinary format.
+
+.. option:: -use-md5=[true|false]
+
+ Use MD5 to represent string in name table when writing the profile.
+ This option can only be used with sample-based profile in extbinary format.
+
+.. option:: -gen-partial-profile=[true|false]
+
+ Mark the profile to be a partial profile which only provides partial profile
+ coverage for the optimized target. This option can only be used with
+ sample-based profile in extbinary format.
+
 EXAMPLES
 ^^^^^^^^
 Basic Usage
@@ -242,6 +271,16 @@
  Only show context sensitive profile counts. The default is to filter all
  context sensitive profile counts.
 
+.. option:: -show-prof-sym-list=[true|false]
+
+ Show profile symbol list if it exists in the profile. This option is only
+ meaningful for sample-based profile in extbinary format.
+
+.. option:: -show-sec-info-only=[true|false]
+
+ Show basic information about each section in the profile. This option is
+ only meaningful for sample-based profile in extbinary format.
+
 .. program:: llvm-profdata overlap
 
 .. _profdata-overlap:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79911.263891.patch
Type: text/x-patch
Size: 2334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200513/7a7903a8/attachment.bin>


More information about the llvm-commits mailing list