OSDN Git Service

[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)
commit7f233b7000a37ecc63d938e3ede1753d637767df
tree6abeae682f0cce827ba14906d2bbeb0d6e403a1e
parent19723d91b876c8ad6aadfffd3fe0410d28725ad3
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337404 91177308-0d34-0410-b5e6-96231b3b80d8
docs/GoldPlugin.rst