[lld] f09dce5 - [lld] fix typos to cycle bots

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 12 14:03:47 PDT 2021


Author: Nico Weber
Date: 2021-10-12T17:03:39-04:00
New Revision: f09dce564e9cdea6e4b2803682b61fdd8bf4d094

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

LOG: [lld] fix typos to cycle bots

Added: 
    

Modified: 
    lld/COFF/SymbolTable.cpp
    lld/ELF/SyntheticSections.cpp

Removed: 
    


################################################################################
diff  --git a/lld/COFF/SymbolTable.cpp b/lld/COFF/SymbolTable.cpp
index 47b339b981fd6..cd644e865fca1 100644
--- a/lld/COFF/SymbolTable.cpp
+++ b/lld/COFF/SymbolTable.cpp
@@ -265,7 +265,7 @@ void SymbolTable::loadMinGWSymbols() {
 
     if (config->machine == I386 && config->stdcallFixup) {
       // Check if we can resolve an undefined decorated symbol by finding
-      // the indended target as an undecorated symbol (only with a leading
+      // the intended target as an undecorated symbol (only with a leading
       // underscore).
       StringRef origName = name;
       StringRef baseName = name;

diff  --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index b3e5ede0ab12f..0423cb0455783 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -1119,7 +1119,7 @@ void MipsGotSection::writeTo(uint8_t *buf) {
       if (p.first == nullptr && !config->shared)
         write(p.second, nullptr, 1);
       else if (p.first && !p.first->isPreemptible) {
-        // If we are emitting a shared libary with relocations we mustn't write
+        // If we are emitting a shared library with relocations we mustn't write
         // anything to the GOT here. When using Elf_Rel relocations the value
         // one will be treated as an addend and will cause crashes at runtime
         if (!config->shared)


        


More information about the llvm-commits mailing list