forked from OSchip/llvm-project
parent
ff4aa6dbe2
commit
40487e450b
|
@ -388,7 +388,7 @@ argument: </p>
|
|||
<p> </p>
|
||||
<pre> $ opt < a.bc > /dev/null -mypass<br> <no output><br> $ opt < a.bc > /dev/null -mypass -debug<br> I am here!<br> $<br></pre>
|
||||
<p> Using the <tt>DEBUG()</tt> macro instead of a home-brewed solution
|
||||
allows you to now have to create "yet another" command line option for
|
||||
allows you to not have to create "yet another" command line option for
|
||||
the debug output for your pass. Note that <tt>DEBUG()</tt> macros are
|
||||
disabled for optimized builds, so they do not cause a performance impact
|
||||
at all (for the same reason, they should also not contain
|
||||
|
|
Loading…
Reference in New Issue