[lld] 7a7530a - [lld] Fix comment typos to cycle bots

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 07:20:56 PST 2023


Author: Nico Weber
Date: 2023-01-10T10:20:48-05:00
New Revision: 7a7530a352c3dcd5d7d34ec18cff5fb950ce223f

URL: https://github.com/llvm/llvm-project/commit/7a7530a352c3dcd5d7d34ec18cff5fb950ce223f
DIFF: https://github.com/llvm/llvm-project/commit/7a7530a352c3dcd5d7d34ec18cff5fb950ce223f.diff

LOG: [lld] Fix comment typos to cycle bots

Added: 
    

Modified: 
    lld/CMakeLists.txt
    lld/COFF/LTO.cpp

Removed: 
    


################################################################################
diff  --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt
index 5f496b405ce6b..3d6225646fe61 100644
--- a/lld/CMakeLists.txt
+++ b/lld/CMakeLists.txt
@@ -33,7 +33,7 @@ if(LLD_BUILT_STANDALONE)
   find_package(LLVM REQUIRED HINTS "${LLVM_CMAKE_DIR}")
   list(APPEND CMAKE_MODULE_PATH "${LLVM_DIR}")
 
-  # Turn into CACHE PATHs for overwritting
+  # Turn into CACHE PATHs for overwriting
   set(LLVM_INCLUDE_DIRS ${LLVM_INCLUDE_DIRS} CACHE PATH "Path to llvm/include and any other header dirs needed")
   set(LLVM_BINARY_DIR "${LLVM_BINARY_DIR}" CACHE PATH "Path to LLVM build tree")
   set(LLVM_MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../llvm" CACHE PATH "Path to LLVM source tree")

diff  --git a/lld/COFF/LTO.cpp b/lld/COFF/LTO.cpp
index 327992890420d..b5643b885972b 100644
--- a/lld/COFF/LTO.cpp
+++ b/lld/COFF/LTO.cpp
@@ -228,7 +228,7 @@ std::vector<InputFile *> BitcodeCompiler::compile() {
       continue;
 
     // If the input bitcode file is path/to/a.obj, then the corresponding lto
-    // object file name will soemthing like: path/to/main.exe.lto.a.obj.
+    // object file name will look something like: path/to/main.exe.lto.a.obj.
     StringRef ltoObjName;
     if (bitcodeFilePath == "ld-temp.o") {
       ltoObjName =


        


More information about the llvm-commits mailing list