summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2019-09-02 15:34:53 +0000
committerSylvestre Ledru <sylvestre@debian.org>2019-09-02 15:34:53 +0000
commit1385a79dc5abd42b07298c7b9c91fbfdda43ab93 (patch)
tree0bdeb4bdf6db73552acd7fd3ebe795b9e8e226b0 /docs
parentf3d6fd227a037d86d667861ace671349b0315939 (diff)
downloadclang-1385a79dc5abd42b07298c7b9c91fbfdda43ab93.tar.gz
ThinLTO: Document the option BOOTSTRAP_LLVM_ENABLE_LTO
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/ThinLTO.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ThinLTO.rst b/docs/ThinLTO.rst
index e127413c00..2d5d0a71fa 100644
--- a/docs/ThinLTO.rst
+++ b/docs/ThinLTO.rst
@@ -225,6 +225,10 @@ To bootstrap clang/LLVM with ThinLTO, follow these steps:
``CMAKE_EXE_LINKER_FLAGS:STRING=``. Note the configure may fail if
linker plugin options are instead specified directly in the previous step.
+The `BOOTSTRAP_LLVM_ENABLE_LTO=Thin`` will enable ThinLTO for stage 2 and
+stage 3 in case the compiler used for stage 1 does not support the ThinLTO
+option.
+
More Information
================