@@ -16,7 +16,7 @@ If **you are a new contributor**, please start with the :doc:`GettingStarted` or
1616:doc: `CMake ` pages. This page is intended for users doing more complex builds.
1717
1818Many of the examples below are written assuming specific CMake Generators.
19- Unless otherwise explicitly called out these commands should work with any CMake
19+ Unless explicitly stated otherwise, these commands should work with any CMake
2020generator.
2121
2222Many of the build configurations mentioned on this documentation page can be
@@ -66,7 +66,7 @@ CMake option, each variable separated by a ";". For example:
6666 $ ninja stage2
6767
6868 CMake options starting with ``BOOTSTRAP_ `` will be passed only to the stage2 build.
69- This gives the opportunity to use Clang specific build flags.
69+ This gives the opportunity to use Clang- specific build flags.
7070For example, the following CMake call will enable ``-fno-addrsig `` only during
7171the stage2 build for C and C++.
7272
@@ -124,7 +124,7 @@ performance counters (``.profraw`` files). After generating all the profraw file
124124you use llvm-profdata to merge the files into a single profdata file that you
125125can feed into the ``LLVM_PROFDATA_FILE `` option.
126126
127- Our PGO.cmake cache automates that whole process. You can use it for
127+ Our `` PGO.cmake `` cache automates that whole process. You can use it for
128128configuration with CMake with the following command:
129129
130130.. code-block :: console
@@ -146,7 +146,7 @@ that also enables ThinLTO, use the following command:
146146 <path to source>/llvm
147147
148148 By default, clang will generate profile data by compiling a simple
149- hello world program. You can also tell clang use an external
149+ hello world program. You can also tell clang to use an external
150150project for generating profile data that may be a better fit for your
151151use case. The project you specify must either be a lit test suite
152152(use the ``CLANG_PGO_TRAINING_DATA `` option) or a CMake project (use the
@@ -163,7 +163,7 @@ profile data you would use the following command:
163163 -DBOOTSTRAP_CLANG_PGO_TRAINING_DEPS=runtimes
164164
165165 The ``BOOTSTRAP\_ `` prefix tells CMake to pass the variables on to the instrumented
166- stage two build. And the ``CLANG_PGO_TRAINING_DEPS `` option let's you specify
166+ stage two build. And the ``CLANG_PGO_TRAINING_DEPS `` option lets you specify
167167additional build targets to build before building the external project. The
168168LLVM Test Suite requires compiler-rt to build, so we need to add the
169169`runtimes ` target as a dependency.
0 commit comments