From 050147cb707efee8f7747e6ff4f935d95929bee3 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sun, 1 Mar 2009 18:48:53 +0000 Subject: [PATCH] Don't forget the important part. llvm-gcc -use-gold-plugin passes the right options to gold. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65783 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/GoldPlugin.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/GoldPlugin.html b/docs/GoldPlugin.html index bc871bdb6e4..9146d39beb7 100644 --- a/docs/GoldPlugin.html +++ b/docs/GoldPlugin.html @@ -75,9 +75,10 @@ make all-gold -emit-llvm or -flto or -O4 which is equivalent to -O3 -flto.

llvm-gcc has a -use-gold-plugin option which looks - for the gold plugin in the same directories as it looks for cc1. - It will not look for an alternate linker, which is why you need gold to be - the installed system linker in your path.

+ for the gold plugin in the same directories as it looks for cc1 and + passes the -plugin option to ld. It will not look for an alternate + linker, which is why you need gold to be the installed system linker in your + path.

Licensing