[llvm] r238511 - Update documentation for llvm-profdata.

Diego Novillo dnovillo at google.com
Thu May 28 14:57:17 PDT 2015


Author: dnovillo
Date: Thu May 28 16:57:17 2015
New Revision: 238511

URL: http://llvm.org/viewvc/llvm-project?rev=238511&view=rev
Log:
Update documentation for llvm-profdata.

These options have been present for a while, but I had never updated the
documentation. Fixed.

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

Modified: llvm/trunk/docs/CommandGuide/llvm-profdata.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-profdata.rst?rev=238511&r1=238510&r2=238511&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-profdata.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-profdata.rst Thu May 28 16:57:17 2015
@@ -49,6 +49,28 @@ OPTIONS
  Specify the output file name.  *Output* cannot be ``-`` as the resulting
  indexed profile data can't be written to standard output.
 
+.. option:: -instr (default)
+
+ Specify that the input profile is an instrumentation-based profile.
+
+.. option:: -sample
+
+ Specify that the input profile is a sample-based profile. When using
+ sample-based profiles, the format of the generated file can be generated
+ in one of three ways:
+
+ .. option:: -binary (default)
+
+ Emit the profile using a binary encoding.
+
+ .. option:: -text
+
+ Emit the profile in text mode.
+
+ .. option:: -gcc
+
+ Emit the profile using GCC's gcov format (Not yet supported).
+
 .. program:: llvm-profdata show
 
 .. _profdata-show:
@@ -95,6 +117,14 @@ OPTIONS
  Specify the output file name.  If *output* is ``-`` or it isn't specified,
  then the output is sent to standard output.
 
+.. option:: -instr (default)
+
+ Specify that the input profile is an instrumentation-based profile.
+
+.. option:: -sample
+
+ Specify that the input profile is a sample-based profile.
+
 EXIT STATUS
 -----------
 





More information about the llvm-commits mailing list