mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 21:00:00 +00:00
Improve bugpoint doc, patch by Timo Lindfors!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83865 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6a9291ad55
commit
1e07905638
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user