<div dir="ltr">Nice to see this land!<div><br></div><div>One nit:</div><div>Currently, doesn't LLD/ELF ignore -plugin-opt? That will mean that if a user uses the "gold syntax" then LLD will silently ignore it, which isn't good. At the very least, can we issue an error if we see `-plugin-opt jobs=N` and suggest the LLD spelling?</div><div><br></div><div>Or maybe just accept the gold syntax? Our current handling of `-plugin` and `-plugin-opt` is intended to make LLD transparently Do The Right Thing when LLD is invoked as if it were gold, so clearly gold compatibility is important enough for that. This suggests it is important enough to be compatible from a ThinLTO perspective too.<div><div><br></div><div>-- Sean Silva</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 13, 2016 at 10:42 AM, Davide Italiano via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: davide<br>
Date: Thu Oct 13 12:42:38 2016<br>
New Revision: 284137<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=284137&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=284137&view=rev</a><br>
Log:<br>
[ThinLTO] Update doc to include lld (now supported).<br>
<br>
Differential Revision:  <a href="https://reviews.llvm.org/D25537" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D25537</a><br>
<br>
Modified:<br>
    cfe/trunk/docs/ThinLTO.rst<br>
<br>
Modified: cfe/trunk/docs/ThinLTO.rst<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ThinLTO.rst?rev=284137&r1=284136&r2=284137&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/cfe/trunk/docs/<wbr>ThinLTO.rst?rev=284137&r1=<wbr>284136&r2=284137&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- cfe/trunk/docs/ThinLTO.rst (original)<br>
+++ cfe/trunk/docs/ThinLTO.rst Thu Oct 13 12:42:38 2016<br>
@@ -62,8 +62,8 @@ ThinLTO is currently supported for the f<br>
   <<a href="http://llvm.org/docs/GoldPlugin.html" rel="noreferrer" target="_blank">http://llvm.org/docs/<wbr>GoldPlugin.html</a>>`_.<br>
 - **ld64**:<br>
   Starting with `Xcode 8 <<a href="https://developer.apple.com/xcode/" rel="noreferrer" target="_blank">https://developer.apple.com/<wbr>xcode/</a>>`_.<br>
-<br>
-Additionally, support is being added to the *lld* linker.<br>
+- **lld**:<br>
+  Starting with r284050 (ELF only).<br>
<br>
 Usage<br>
 =====<br>
@@ -109,6 +109,8 @@ be reduced to ``N`` via:<br>
   ``-Wl,-plugin-opt,jobs=N``<br>
 - ld64:<br>
   ``-Wl,-mllvm,-threads=N``<br>
+- lld:<br>
+  ``-Wl,--thinlto-jobs=N``<br>
<br>
 Incremental<br>
 -----------<br>
<br>
<br>
______________________________<wbr>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>