Russell Wallace
2015-Feb-10 16:37 UTC
[LLVMdev] llvm-link deprecated in favor of gold plugin?
Following on from my last question, based on such information as I've been able to find on Google, I get the impression llvm-link is effectively deprecated / not actively maintained, because the focus of whole-program optimization is now on the gold plugin. Is that the case, or am I missing something? Running searches over the source tree, it seems the Linker class that actually implements the functionality of llvm-link is not used by any other modules except LTOCodeGenerator. I couldn't find anything referencing LTOCodeGenerator. Does the gold plugin or anything else use LTOCodeGenerator? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150210/eef50240/attachment.html>
Teresa Johnson
2015-Feb-10 16:47 UTC
[LLVMdev] llvm-link deprecated in favor of gold plugin?
LTOCodeGenerator is used by the llvm-lto tool, which is a standalone tool for doing LTO links. Teresa On Tue, Feb 10, 2015 at 8:37 AM, Russell Wallace <russell.wallace at gmail.com> wrote:> Following on from my last question, based on such information as I've been > able to find on Google, I get the impression llvm-link is effectively > deprecated / not actively maintained, because the focus of whole-program > optimization is now on the gold plugin. Is that the case, or am I missing > something? > > Running searches over the source tree, it seems the Linker class that > actually implements the functionality of llvm-link is not used by any other > modules except LTOCodeGenerator. I couldn't find anything referencing > LTOCodeGenerator. Does the gold plugin or anything else use > LTOCodeGenerator? > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Teresa Johnson | Software Engineer | tejohnson at google.com | 408-460-2413
Russell Wallace
2015-Feb-10 16:58 UTC
[LLVMdev] llvm-link deprecated in favor of gold plugin?
Ah! Okay. A quick test of llvm-lto gets an error: llvm-lto: error adding file 'main.bc': Linking COMDATs named '??_7_Iostream_error_category at std@@6B@': invalid selection kinds! Would it be the case that llvm-lto is also deprecated in favor of the gold plugin? On Tue, Feb 10, 2015 at 4:47 PM, Teresa Johnson <tejohnson at google.com> wrote:> LTOCodeGenerator is used by the llvm-lto tool, which is a standalone > tool for doing LTO links. > > Teresa > > On Tue, Feb 10, 2015 at 8:37 AM, Russell Wallace > <russell.wallace at gmail.com> wrote: > > Following on from my last question, based on such information as I've > been > > able to find on Google, I get the impression llvm-link is effectively > > deprecated / not actively maintained, because the focus of whole-program > > optimization is now on the gold plugin. Is that the case, or am I missing > > something? > > > > Running searches over the source tree, it seems the Linker class that > > actually implements the functionality of llvm-link is not used by any > other > > modules except LTOCodeGenerator. I couldn't find anything referencing > > LTOCodeGenerator. Does the gold plugin or anything else use > > LTOCodeGenerator? > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > > > -- > Teresa Johnson | Software Engineer | tejohnson at google.com | 408-460-2413 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150210/ef53999c/attachment.html>