aboutsummaryrefslogtreecommitdiff
path: root/clang/docs/ThinLTO.rst
diff options
context:
space:
mode:
authorYuanfang Chen <yuanfang.chen@sony.com>2020-06-01 17:09:40 -0700
committerYuanfang Chen <yuanfang.chen@sony.com>2020-06-04 14:52:51 -0700
commitf9ea86eaa1a3ba18973666c4de56dfde8d488574 (patch)
tree98d12bfc3268ad082f5ad242bda899904736eaac /clang/docs/ThinLTO.rst
parent4e3d4622b1e7bd419815510e5f7cd0f96595b2a3 (diff)
downloadllvm-f9ea86eaa1a3ba18973666c4de56dfde8d488574.zip
llvm-f9ea86eaa1a3ba18973666c4de56dfde8d488574.tar.gz
llvm-f9ea86eaa1a3ba18973666c4de56dfde8d488574.tar.bz2
[Docs] Add the entry for `Advanced builds` in UserGuide.rst
Also add a link to it from ThinLTO.rst.
Diffstat (limited to 'clang/docs/ThinLTO.rst')
-rw-r--r--clang/docs/ThinLTO.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/docs/ThinLTO.rst b/clang/docs/ThinLTO.rst
index 2d5d0a7..528530c 100644
--- a/clang/docs/ThinLTO.rst
+++ b/clang/docs/ThinLTO.rst
@@ -194,7 +194,8 @@ Possible key-value pairs are:
Clang Bootstrap
---------------
-To bootstrap clang/LLVM with ThinLTO, follow these steps:
+To `bootstrap clang/LLVM <https://llvm.org/docs/AdvancedBuilds.html#bootstrap-builds>`_
+with ThinLTO, follow these steps:
1. The host compiler_ must be a version of clang that supports ThinLTO.
#. The host linker_ must support ThinLTO (and in the case of gold, must be
@@ -225,7 +226,7 @@ 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
+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.