[llvm-commits] [llvm] r83865 - /llvm/trunk/docs/Bugpoint.html

Chris Lattner sabre at nondot.org
Mon Oct 12 11:12:47 PDT 2009


Author: lattner
Date: Mon Oct 12 13:12:47 2009
New Revision: 83865

URL: http://llvm.org/viewvc/llvm-project?rev=83865&view=rev
Log:
Improve bugpoint doc, patch by Timo Lindfors!

Modified:
    llvm/trunk/docs/Bugpoint.html

Modified: llvm/trunk/docs/Bugpoint.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Bugpoint.html?rev=83865&r1=83864&r2=83865&view=diff

==============================================================================
--- llvm/trunk/docs/Bugpoint.html (original)
+++ llvm/trunk/docs/Bugpoint.html Mon Oct 12 13:12:47 2009
@@ -216,6 +216,17 @@
     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>
 





More information about the llvm-commits mailing list