[LLVMdev] standard passes
dpatel at apple.com
Mon Apr 14 13:03:14 PDT 2008
On Apr 14, 2008, at 1:02 PM, Lu Zhao wrote:
>> If you're running opt on the command line directly, then use the
>> "-p" option. See "-help" for more information on that.
> I have a couple of more questions.
> 1. Does -std-compile-opts of opt do the same optimization with llvm-
> with -O[1-3] options?
The does not map -O[1-3] options directly.
> If I want to debug into passes through llvm-gcc,
> how do I set a breakpoint right before pass execution? In my gdb
> llvm-gcc session, I don't have llvm::PassManager available.
You have access to PerFunctionPasses and PerModulePasses.
More information about the llvm-dev