summaryrefslogtreecommitdiffstats
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
commit4fa267bcbb6fb7bfb963a8b8bae3c0ac60fec1ce (patch)
tree9c869a50ecfb63bc1169ca3d44581f8d5b801c1d
parentfb5661a8848ff65cded683454110dad229349d8e (diff)
downloadbcm5719-llvm-4fa267bcbb6fb7bfb963a8b8bae3c0ac60fec1ce.tar.gz
bcm5719-llvm-4fa267bcbb6fb7bfb963a8b8bae3c0ac60fec1ce.zip
ThinLTO: Document the option BOOTSTRAP_LLVM_ENABLE_LTO
llvm-svn: 370671
-rw-r--r--clang/docs/ThinLTO.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/docs/ThinLTO.rst b/clang/docs/ThinLTO.rst
index e127413c002..2d5d0a71fa6 100644
--- a/clang/docs/ThinLTO.rst
+++ b/clang/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
================
OpenPOWER on IntegriCloud