[LLVMdev] opt -p flag

Evan Cheng evan.cheng at apple.com
Wed Jun 11 10:52:14 PDT 2008

You can use -debug-pass=Executions to see what passes are being  

I am not sure why -p doesn't do anything. Please file a bug. Thanks.


On Jun 11, 2008, at 12:41 AM, Andrew Beyer wrote:

> I wanted to see where some transforms were happening in the standard
> compilation passes, so I tried using  "-p" flag to opt along with
> "-std-compile-opts" but it didn't work, as the print pass doesn't get
> added for the passes from std-compile-opts.
> Is it expected/intended that -p only works with user supplied pass
> arguments? If so, the docs for opt should probably state that.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list