[NFC][lld] Fix typos to test commit access
authorDaniel Bertalan <dani@danielbertalan.dev>
Thu, 23 Jun 2022 22:19:18 +0000 (00:19 +0200)
committerDaniel Bertalan <dani@danielbertalan.dev>
Thu, 23 Jun 2022 22:19:18 +0000 (00:19 +0200)
lld/CMakeLists.txt
lld/include/lld/Common/ErrorHandler.h

index f51c864..ec11de7 100644 (file)
@@ -72,7 +72,7 @@ if(LLD_BUILT_STANDALONE)
     # path is removed.
     set(MAIN_INCLUDE_DIR "${LLVM_INCLUDE_DIR}")
     set(LLVM_OBJ_DIR "${LLVM_BINARY_DIR}")
-    # N.B. this is just a default value, the CACHE PATHs below can be overriden.
+    # N.B. this is just a default value, the CACHE PATHs below can be overridden.
     set(MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../llvm")
   endif()
 
index 69e798c..0b69bb6 100644 (file)
@@ -134,7 +134,7 @@ private:
   // We wrap stdout and stderr so that you can pass alternative stdout/stderr as
   // arguments to lld::*::link() functions. Since lld::outs() or lld::errs() can
   // be indirectly called from multiple threads, we protect them using a mutex.
-  // In the future, we plan on supporting several concurent linker contexts,
+  // In the future, we plan on supporting several concurrent linker contexts,
   // which explains why the mutex is not a global but part of this context.
   std::mutex mu;
   llvm::raw_ostream *stdoutOS{};