Improve bugpoint doc, patch by Timo Lindfors!
authorChris Lattner <sabre@nondot.org>
Mon, 12 Oct 2009 18:12:47 +0000 (18:12 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Oct 2009 18:12:47 +0000 (18:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83865 91177308-0d34-0410-b5e6-96231b3b80d8

docs/Bugpoint.html

index 0f5a511f71cbbe9217f85c62250569846fe94d11..bf75b5ba44c9960dffefc2154c756b24aab32f00 100644 (file)
@@ -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>