]> granicus.if.org Git - clang/commitdiff
[ThinLTO] Update doc to include lld (now supported).
authorDavide Italiano <davide@freebsd.org>
Thu, 13 Oct 2016 17:42:38 +0000 (17:42 +0000)
committerDavide Italiano <davide@freebsd.org>
Thu, 13 Oct 2016 17:42:38 +0000 (17:42 +0000)
Differential Revision:  https://reviews.llvm.org/D25537

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284137 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ThinLTO.rst

index d1937dd7b6fa3d4b05add100f225d2a163a9327e..7c7d9513025a9a91a689c5555696c2daa1998e7b 100644 (file)
@@ -62,8 +62,8 @@ ThinLTO is currently supported for the following linkers:
   <http://llvm.org/docs/GoldPlugin.html>`_.
 - **ld64**:
   Starting with `Xcode 8 <https://developer.apple.com/xcode/>`_.
-
-Additionally, support is being added to the *lld* linker.
+- **lld**:
+  Starting with r284050 (ELF only).
 
 Usage
 =====
@@ -109,6 +109,8 @@ be reduced to ``N`` via:
   ``-Wl,-plugin-opt,jobs=N``
 - ld64:
   ``-Wl,-mllvm,-threads=N``
+- lld:
+  ``-Wl,--thinlto-jobs=N``
 
 Incremental
 -----------