summaryrefslogtreecommitdiffstats
path: root/llvm/docs/Bugpoint.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-12 18:12:47 +0000
committerChris Lattner <sabre@nondot.org>2009-10-12 18:12:47 +0000
commit7c6e0f22ad4a3361e849553d53cf4cff114c294c (patch)
treeaf1e26fac00af3e2c93905b90e7441c867878560 /llvm/docs/Bugpoint.html
parent574de2c5a4f025808eda36c55f871f78d585dc96 (diff)
downloadbcm5719-llvm-7c6e0f22ad4a3361e849553d53cf4cff114c294c.tar.gz
bcm5719-llvm-7c6e0f22ad4a3361e849553d53cf4cff114c294c.zip
Improve bugpoint doc, patch by Timo Lindfors!
llvm-svn: 83865
Diffstat (limited to 'llvm/docs/Bugpoint.html')
-rw-r--r--llvm/docs/Bugpoint.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/docs/Bugpoint.html b/llvm/docs/Bugpoint.html
index 0f5a511f71c..bf75b5ba44c 100644
--- a/llvm/docs/Bugpoint.html
+++ b/llvm/docs/Bugpoint.html
@@ -216,6 +216,17 @@ non-obvious ways. Here are some hints and tips:<p>
the list of specified optimizations to be randomized and applied to the
program. This process will repeat until a bug is found or the user
kills <tt>bugpoint</tt>.
+
+<li><p><tt>bugpoint</tt> does not understand the <tt>-O</tt> option
+ that is used to specify optimization level to <tt>opt</tt>. You
+ can use e.g.</p>
+
+<div class="doc_code">
+<p><tt>opt -O2 -debug-pass=Arguments foo.bc -disable-output</tt></p>
+</div>
+
+ <p>to get a list of passes that are used with <tt>-O2</tt> and
+ then pass this list to <tt>bugpoint</tt>.</p>
</ol>
OpenPOWER on IntegriCloud