[LLVMdev] opt -analyze

Chris Lattner sabre at nondot.org
Fri Feb 23 15:17:05 PST 2007


On Fri, 23 Feb 2007, Ryan M. Lefever wrote:
> When the -analyze option is passed to opt, the print() function is
> called on each pass that opt executes, but no bytecode is generated.  Is
> there a way to get opt to call the print() function on each pass that it
> executes *and* produce bytecode.

Invoke it twice, once with -analyze and one without? :)

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list