diff options
author | Vedant Kumar <vsk@apple.com> | 2016-01-29 22:54:45 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-01-29 22:54:45 +0000 |
commit | 00dab22853e7e49186783cdf64232e8a97274573 (patch) | |
tree | eda404a9c6b25786748f57e010cb491cd249fd33 /llvm/docs/CommandGuide/llvm-profdata.rst | |
parent | b046154ae9c09c8b9e1dd96fdc09998e0e50fb15 (diff) | |
download | bcm5719-llvm-00dab22853e7e49186783cdf64232e8a97274573.tar.gz bcm5719-llvm-00dab22853e7e49186783cdf64232e8a97274573.zip |
[Profiling] Add a -sparse mode to llvm-profdata merge
Add an option to llvm-profdata merge for writing out sparse indexed
profiles. These profiles omit InstrProfRecords for functions which are
never executed.
Differential Revision: http://reviews.llvm.org/D16727
llvm-svn: 259258
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-profdata.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-profdata.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-profdata.rst b/llvm/docs/CommandGuide/llvm-profdata.rst index 74fe4ee9d21..7f647ef1c47 100644 --- a/llvm/docs/CommandGuide/llvm-profdata.rst +++ b/llvm/docs/CommandGuide/llvm-profdata.rst @@ -90,6 +90,12 @@ OPTIONS Emit the profile using GCC's gcov format (Not yet supported). + .. option:: -sparse[=true|false] + + Do not emit function records with 0 execution count. Can only be used in + conjunction with -instr. Defaults to false, since it can inhibit compiler + optimization during PGO. + EXAMPLES ^^^^^^^^ Basic Usage |