[lld] Fix comment typos to cycle bots
authorNico Weber <thakis@chromium.org>
Tue, 10 Jan 2023 15:20:39 +0000 (10:20 -0500)
committerNico Weber <thakis@chromium.org>
Tue, 10 Jan 2023 15:20:48 +0000 (10:20 -0500)
lld/CMakeLists.txt
lld/COFF/LTO.cpp

index 5f496b4..3d62256 100644 (file)
@@ -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")
index 3279928..b5643b8 100644 (file)
@@ -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 =