[docs] Update GoldPlugin documentation
authorTeresa Johnson <tejohnson@google.com>
Wed, 18 Jul 2018 17:10:17 +0000 (17:10 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 18 Jul 2018 17:10:17 +0000 (17:10 +0000)
commit4577e9a0637ffd2f1c88c82d898d7a3c7b48733d
tree929b3bc8c0532d40eced82e7bd7bdcd7184db06e
parent42b54e81178a03ba22555f3db962538791c4bb9d
[docs] Update GoldPlugin documentation

Summary:
Updated and reorganized. Made the following additions:
1) How to see if ld.gold is installed, and whether it is the current
default.
2) How to install ld.gold as the default or alternatively use
-fuse-ld=gold.
3) Move the part about installing the newly built ld-new as the default
to the prior section and how to use --enable-gold=default to do it
automatically on install.
4) Add a note about ld.bfd supporting plugins but indicate that it is
not tested by the LLVM project and gold is the recommended linker for
use with the gold plugin.

Fixes PR32760.

Reviewers: davide

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D49490

llvm-svn: 337404
llvm/docs/GoldPlugin.rst