From 6bd81300ff7f0548dd593bba01b1641691e3056c Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Thu, 1 Jun 2017 03:48:12 +0000 Subject: [PATCH] docs: Document LLD's cache dir argument. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304385 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ThinLTO.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/ThinLTO.rst b/docs/ThinLTO.rst index 7c7d951302..d417febda5 100644 --- a/docs/ThinLTO.rst +++ b/docs/ThinLTO.rst @@ -123,6 +123,8 @@ which currently must be enabled through a linker option. ``-Wl,-plugin-opt,cache-dir=/path/to/cache`` - ld64 (support in clang 3.9 and Xcode 8): ``-Wl,-cache_path_lto,/path/to/cache`` +- lld (as of LLVM r296702): + ``-Wl,--thinlto-cache-dir=/path/to/cache`` Clang Bootstrap --------------- -- 2.40.0