Update documentation for llvm-profdata.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Diego Novillo 2015-05-28 21:57:17 +00:00
parent 9cc5055248
commit 6882d57ef2

View File

@ -49,6 +49,28 @@ OPTIONS
Specify the output file name. *Output* cannot be ``-`` as the resulting Specify the output file name. *Output* cannot be ``-`` as the resulting
indexed profile data can't be written to standard output. 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 .. program:: llvm-profdata show
.. _profdata-show: .. _profdata-show:
@ -95,6 +117,14 @@ OPTIONS
Specify the output file name. If *output* is ``-`` or it isn't specified, Specify the output file name. If *output* is ``-`` or it isn't specified,
then the output is sent to standard output. 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 EXIT STATUS
----------- -----------