[PATCH] D37995: [Docs] Document cache pruning support for gold
Yi Kong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 18 16:25:33 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL313591: [Docs] Document cache pruning support for gold (authored by kongyi).
Changed prior to commit:
https://reviews.llvm.org/D37995?vs=115710&id=115745#toc
Repository:
rL LLVM
https://reviews.llvm.org/D37995
Files:
cfe/trunk/docs/ThinLTO.rst
Index: cfe/trunk/docs/ThinLTO.rst
===================================================================
--- cfe/trunk/docs/ThinLTO.rst
+++ cfe/trunk/docs/ThinLTO.rst
@@ -141,10 +141,12 @@
-------------
To help keep the size of the cache under control, ThinLTO supports cache
-pruning. Cache pruning is supported with ld64 and ELF and COFF lld, but
-currently only ELF and COFF lld allow you to control the policy with a
+pruning. Cache pruning is supported with gold, ld64 and ELF and COFF lld, but
+currently only gold, ELF and COFF lld allow you to control the policy with a
policy string. The cache policy must be specified with a linker option.
+- gold (as of LLVM 6.0):
+ ``-Wl,-plugin-opt,cache-policy=POLICY``
- ELF lld (as of LLVM 5.0):
``-Wl,--thinlto-cache-policy,POLICY``
- COFF lld-link (as of LLVM 6.0):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37995.115745.patch
Type: text/x-patch
Size: 828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170918/998a8398/attachment.bin>
More information about the cfe-commits
mailing list