mirror of https://github.com/microsoft/clang.git
[Docs] Document cache pruning support for gold
Differential Revision: https://reviews.llvm.org/D37995 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@313591 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd4ce662bc
commit
cc6a5a338f
|
@ -141,10 +141,12 @@ Cache Pruning
|
|||
-------------
|
||||
|
||||
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):
|
||||
|
|
Loading…
Reference in New Issue