kongyi created this revision. kongyi added a project: clang. Herald added subscribers: eraman, mehdi_amini.
Feature implemented in https://reviews.llvm.org/D37993 Repository: rL LLVM https://reviews.llvm.org/D37995 Files: docs/ThinLTO.rst Index: docs/ThinLTO.rst =================================================================== --- docs/ThinLTO.rst +++ docs/ThinLTO.rst @@ -142,9 +142,11 @@ 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 +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):
Index: docs/ThinLTO.rst =================================================================== --- docs/ThinLTO.rst +++ docs/ThinLTO.rst @@ -142,9 +142,11 @@ 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 +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):
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits