[LLVMdev] using GCC LTO files as a frontend to dragonegg?
Marcus Daniels
mdaniels at lanl.gov
Fri Sep 10 11:47:56 PDT 2010
On 9/10/10 12:45 PM, Rafael Espindola wrote:
> I can't remember if lot1 (gcc's lto compiler) can load plugins, but if
> it can, dragonegg can probably be made to work with it.
I see now it works if you ask for the GCC optimizations.. (the last flag)
gcc-4.5 -fplugin=./dragonegg.so -c -x lto -flto
-fplugin-arg-dragonegg-emit-ir -S
-fplugin-arg-dragonegg-enable-gcc-optzns hello.o
Thanks,
Marcus
More information about the llvm-dev
mailing list