[LLVMdev] Using LLVM to build large projects
Rafael Espindola
espindola at google.com
Thu Oct 15 15:04:56 PDT 2009
2009/10/15 SHI, Yao <shiyao at gmail.com>:
> Hi @ll,
>
> I am using LLVM to build MySQL. It's OK when I use llvmc/llvm-gcc/llvm-g++
> instead of gcc.
> However, such processing disabled interprocedural analysis that has to
> combine all bitcode files.
>
> My question is how to build MySQL with interprocedural analysis? I really
> don't like editing all Makefiles one by one. Is there any convenient
> approach?
On OS X I think you can just use -O4. On Linux you can use the gold
linker with a plugin to accept llvm IL:
http://llvm.org/docs/GoldPlugin.html
> Thank you.
>
>
>
>
> Yao Shi
>
Cheers,
--
Rafael Ávila de Espíndola
More information about the llvm-dev
mailing list