[Docs] Add the entry for `Advanced builds` in UserGuide.rst
authorYuanfang Chen <yuanfang.chen@sony.com>
Tue, 2 Jun 2020 00:09:40 +0000 (17:09 -0700)
committerYuanfang Chen <yuanfang.chen@sony.com>
Thu, 4 Jun 2020 21:52:51 +0000 (14:52 -0700)
Also add a link to it from ThinLTO.rst.

clang/docs/ThinLTO.rst
llvm/docs/UserGuides.rst

index 2d5d0a7..528530c 100644 (file)
@@ -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.
 
index 0b91b3c..6e43291 100644 (file)
@@ -96,7 +96,10 @@ LLVM Builds and Distributions
 \r
 :doc:`Support Library <SupportLibrary>`\r
    This document describes the LLVM Support Library (``lib/Support``) and\r
-   how to keep LLVM source code portable\r
+   how to keep LLVM source code portable.\r
+\r
+:doc:`AdvancedBuilds`\r
+   This document describes more advanced build configurations.\r
 \r
 Optimizations\r
 -------------\r