diff options
author | Diego Novillo <dnovillo@google.com> | 2015-05-28 21:57:17 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2015-05-28 21:57:17 +0000 |
commit | 6555adb110d17d751fd4849e4fd35f48edc4e476 (patch) | |
tree | 3060f822e9ed00eb38c2c84ec1eda7e84a0b93e6 /llvm/docs/CommandGuide/llvm-profdata.rst | |
parent | 842b214ac19e27bb41a54bbbc032a6e250651986 (diff) | |
download | bcm5719-llvm-6555adb110d17d751fd4849e4fd35f48edc4e476.tar.gz bcm5719-llvm-6555adb110d17d751fd4849e4fd35f48edc4e476.zip |
Update documentation for llvm-profdata.
These options have been present for a while, but I had never updated the
documentation. Fixed.
llvm-svn: 238511
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-profdata.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-profdata.rst | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-profdata.rst b/llvm/docs/CommandGuide/llvm-profdata.rst index 45f70731d69..7053b7fa710 100644 --- a/llvm/docs/CommandGuide/llvm-profdata.rst +++ b/llvm/docs/CommandGuide/llvm-profdata.rst @@ -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 ----------- |