diff --git a/docs/ThinLTO.rst b/docs/ThinLTO.rst index 7c7d9513025a9a91a689c5555696c2daa1998e7b..d417febda502c5974fc3a37b19206d8e70bb0246 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 ---------------