aboutsummaryrefslogtreecommitdiff
path: root/docs/CommandGuide/llvm-prof.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/CommandGuide/llvm-prof.html')
-rw-r--r--docs/CommandGuide/llvm-prof.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/CommandGuide/llvm-prof.html b/docs/CommandGuide/llvm-prof.html
index 5f1c48dcc1..ceba6527cf 100644
--- a/docs/CommandGuide/llvm-prof.html
+++ b/docs/CommandGuide/llvm-prof.html
@@ -30,7 +30,7 @@ then runs <tt>llvm-prof</tt> to format a report. To get more information about
<li><tt>--annotated-llvm</tt> or <tt>-A</tt><br>
In addition to the normal report printed, print out the code for the
- program, annotated we execution frequency information. This can be
+ program, annotated with execution frequency information. This can be
particularly useful when trying to visualize how frequently basic blocks
are executed. This is most useful with basic block profiling
information or better.<p>
@@ -40,12 +40,17 @@ then runs <tt>llvm-prof</tt> to format a report. To get more information about
Using this option enables the <tt>--annotated-llvm</tt> option, but it
prints the entire module, instead of just the most commonly executed
functions.<p>
+
+ <li><tt>-time-passes</tt><br>
+
+ Record the amount of time needed for each pass and print it to standard
+ error.
</ul>
<h3>EXIT STATUS</h3>
<tt>llvm-prof</tt> returns 1 if it cannot load the bytecode file or the profile
-information, otherwise it exits with zero.
+information. Otherwise, it exits with zero.
<HR>
Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>.