summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-profdata.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-profdata.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-profdata.rst6
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
OpenPOWER on IntegriCloud