opt -analyze

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

opt -analyze

Ryan M. Lefever
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.

Thanks,
Ryan

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: opt -analyze

Chris Lattner
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/
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev