<div dir="ltr"><div>Ah! Okay. A quick test of llvm-lto gets an error:</div><div><br></div><div>llvm-lto: error adding file 'main.bc': Linking COMDATs named '??_7_Iostream_error_category@std@@6B@': invalid selection kinds!</div><div><br></div><div>Would it be the case that llvm-lto is also deprecated in favor of the gold plugin?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 4:47 PM, Teresa Johnson <span dir="ltr"><<a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">LTOCodeGenerator is used by the llvm-lto tool, which is a standalone<br>
tool for doing LTO links.<br>
<br>
Teresa<br>
<div><div class="h5"><br>
On Tue, Feb 10, 2015 at 8:37 AM, Russell Wallace<br>
<<a href="mailto:russell.wallace@gmail.com">russell.wallace@gmail.com</a>> wrote:<br>
> Following on from my last question, based on such information as I've been<br>
> able to find on Google, I get the impression llvm-link is effectively<br>
> deprecated / not actively maintained, because the focus of whole-program<br>
> optimization is now on the gold plugin. Is that the case, or am I missing<br>
> something?<br>
><br>
> Running searches over the source tree, it seems the Linker class that<br>
> actually implements the functionality of llvm-link is not used by any other<br>
> modules except LTOCodeGenerator. I couldn't find anything referencing<br>
> LTOCodeGenerator. Does the gold plugin or anything else use<br>
> LTOCodeGenerator?<br>
><br>
</div></div>> _______________________________________________<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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Teresa Johnson | Software Engineer | <a href="mailto:tejohnson@google.com">tejohnson@google.com</a> | <a href="tel:408-460-2413" value="+14084602413">408-460-2413</a><br>
</font></span></blockquote></div><br></div></div>