[LLVMdev] opt -p flag

Andrew Beyer beyer.andrew at gmail.com
Wed Jun 11 00:41:26 PDT 2008


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.



More information about the llvm-dev mailing list