[PATCH] D114764: Use `thin` that starts with lowercase letter. - `Thin` gives an error when following lib/Transforms/IPO/WholeProgramDevirt.cpp, and `thin` works.

Mingming Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 29 18:11:25 PST 2021


luna created this revision.
luna added a reviewer: tejohnson.
Herald added subscribers: ormris, steven_wu, hiraditya.
luna requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Fix a typo.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114764

Files:
  clang/docs/ThinLTO.rst


Index: clang/docs/ThinLTO.rst
===================================================================
--- clang/docs/ThinLTO.rst
+++ clang/docs/ThinLTO.rst
@@ -213,7 +213,7 @@
    <https://llvm.org/docs/CMake.html#options-and-variables>`_
    when configuring the bootstrap compiler build:
 
-  * ``-DLLVM_ENABLE_LTO=Thin``
+  * ``-DLLVM_ENABLE_LTO=thin``
   * ``-DCMAKE_C_COMPILER=/path/to/host/clang``
   * ``-DCMAKE_CXX_COMPILER=/path/to/host/clang++``
   * ``-DCMAKE_RANLIB=/path/to/host/llvm-ranlib``
@@ -221,7 +221,7 @@
 
   Or, on Windows:
 
-  * ``-DLLVM_ENABLE_LTO=Thin``
+  * ``-DLLVM_ENABLE_LTO=thin``
   * ``-DCMAKE_C_COMPILER=/path/to/host/clang-cl.exe``
   * ``-DCMAKE_CXX_COMPILER=/path/to/host/clang-cl.exe``
   * ``-DCMAKE_LINKER=/path/to/host/lld-link.exe``


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114764.390541.patch
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211130/69594fef/attachment.bin>


More information about the cfe-commits mailing list