<div dir="ltr">Hi Chris,<div><br></div><div>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).</div>
<div><br></div><div style>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:</div>
<div style>  <a href="http://llvm.org/docs/LinkTimeOptimization.html">http://llvm.org/docs/LinkTimeOptimization.html</a></div><div style>  <a href="http://llvm.org/docs/GoldPlugin.html">http://llvm.org/docs/GoldPlugin.html</a></div>
<div style><br></div><div style> - Daniel<br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 29, 2013 at 11:31 AM, Chris Cadwallader <span dir="ltr"><<a href="mailto:ccadwallader@arxan.com" target="_blank">ccadwallader@arxan.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">r172749 removed Linker/LinkArchives.cpp and Linker/LinkItems.cpp citing:<div><br></div>
<div><pre style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-left;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;white-space:pre-wrap;word-wrap:break-word;word-spacing:0px">
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.</pre><div>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.</div>
</div><div><br></div><div>Thanks,</div><div>Chris</div></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>