[lld] 279c5dc - fix comment typo to cycle bots

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 12:29:54 PST 2021


Author: Nico Weber
Date: 2021-02-17T15:29:39-05:00
New Revision: 279c5dc2f36fe8ffe27a8679cc5ce07c7f4806f9

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

LOG: fix comment typo to cycle bots

Added: 
    

Modified: 
    lld/ELF/Symbols.cpp

Removed: 
    


################################################################################
diff  --git a/lld/ELF/Symbols.cpp b/lld/ELF/Symbols.cpp
index a54f68edf952..3ce6a9899143 100644
--- a/lld/ELF/Symbols.cpp
+++ b/lld/ELF/Symbols.cpp
@@ -698,7 +698,7 @@ static void replaceCommon(Symbol &oldSym, const LazyT &newSym) {
 
 template <class LazyT> void Symbol::resolveLazy(const LazyT &other) {
   // For common objects, we want to look for global or weak definitions that
-  // should be fetched as the cannonical definition instead.
+  // should be fetched as the canonical definition instead.
   if (isCommon() && elf::config->fortranCommon) {
     if (auto *laSym = dyn_cast<LazyArchive>(&other)) {
       ArchiveFile *archive = cast<ArchiveFile>(laSym->file);


        


More information about the llvm-commits mailing list