summaryrefslogtreecommitdiff
path: root/docs/CommandGuide/llvm-profdata.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/CommandGuide/llvm-profdata.rst')
-rw-r--r--docs/CommandGuide/llvm-profdata.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/CommandGuide/llvm-profdata.rst b/docs/CommandGuide/llvm-profdata.rst
index f7aa8309485b..5b6330b5dc40 100644
--- a/docs/CommandGuide/llvm-profdata.rst
+++ b/docs/CommandGuide/llvm-profdata.rst
@@ -192,6 +192,12 @@ OPTIONS
information is dumped in a more human readable form (also in text) with
annotations.
+.. option:: -topn=n
+
+ Instruct the profile dumper to show the top ``n`` functions with the
+ hottest basic blocks in the summary section. By default, the topn functions
+ are not dumped.
+
.. option:: -sample
Specify that the input profile is a sample-based profile.