[LLVMdev] Dropped support for IR-level extended linking support (archives, etc.)
Daniel Dunbar
daniel at zuster.org
Tue Jan 29 12:56:56 PST 2013
Hi Chris,
What functions were you using, and what features of them were you using? If
you just need to link individual bit codes together, you can do it in
exactly the same way that llvm-link does (using Linker::LinkModules).
If you really need features like being able to pull objects out of
archives, then you should use an LTO enabled linker (either the system
linker on OS X, or gold + the gold plugin on Linux). See also:
http://llvm.org/docs/LinkTimeOptimization.html
http://llvm.org/docs/GoldPlugin.html
- Daniel
On Tue, Jan 29, 2013 at 11:31 AM, Chris Cadwallader
<ccadwallader at arxan.com>wrote:
> r172749 removed Linker/LinkArchives.cpp and Linker/LinkItems.cpp citing:
>
> This code is dead, and the "right" way to get this support is to use the
> platform-specific linker-integrated LTO mechanisms, or the forthcoming LLVM
> linker.
>
> Could someone please expand on what the "right way" is and these LTO
> mechanisms or where I can find further information? We used several
> functions in LinkItems.cpp to create a single bitcode module prior to
> processing.
>
> Thanks,
> Chris
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130129/3408ec02/attachment.html>
More information about the llvm-dev
mailing list