[LLVMdev] standard passes
Devang Patel
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.
>>
>> -bw
>>
>
> I have a couple of more questions.
>
> 1. Does -std-compile-opts of opt do the same optimization with llvm-
> gcc
> 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.
-
Devang
More information about the llvm-dev
mailing list