[LLVMdev] LLVM LTO

Sun, Rui rui.sun at intel.com
Wed Aug 1 20:00:09 PDT 2012


Hi,

I am trying to use LLVM LTO. I read http://llvm.org/docs/GoldPlugin.html and have some questions. Could anyone help?


1.       Can LLVMgold.so work with BFD LD instead of gold? In the description of changes in binutils 2.20, "* The plugin target has been added to bfd. It can load the same shared objects
used by gold and uses them to provide basic support for new file formats.". Does this mean BFD LD after 2.20 can support LLVMgold.so?  Ld version on my system is:
GNU ld (GNU Binutils for Ubuntu) 2.21.53.20110810


2.       Gold only supports ELF. If BFD LD can support LLVMgold, can LTO be applied to COFF objects after recompiling the binutils with target==x86_64-pc-pe?

Thanks!
Rui

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120802/3a7ded3c/attachment.html>


More information about the llvm-dev mailing list