[lld] r248488 - Fix typo.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 05:58:44 PDT 2015


Author: rafael
Date: Thu Sep 24 07:58:44 2015
New Revision: 248488

URL: http://llvm.org/viewvc/llvm-project?rev=248488&view=rev
Log:
Fix typo.

Thanks to Sean Silva for noticing.

Modified:
    lld/trunk/ELF/SymbolTable.cpp
    lld/trunk/ELF/SymbolTable.h

Modified: lld/trunk/ELF/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.cpp?rev=248488&r1=248487&r2=248488&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.cpp (original)
+++ lld/trunk/ELF/SymbolTable.cpp Thu Sep 24 07:58:44 2015
@@ -102,7 +102,7 @@ void SymbolTable::addELFFile(ELFFileBase
 }
 
 template <class ELFT>
-void SymbolTable::dupErorr(const SymbolBody &Old, const SymbolBody &New) {
+void SymbolTable::dupError(const SymbolBody &Old, const SymbolBody &New) {
   typedef typename ELFFile<ELFT>::Elf_Sym Elf_Sym;
   typedef typename ELFFile<ELFT>::Elf_Sym_Range Elf_Sym_Range;
 
@@ -151,7 +151,7 @@ template <class ELFT> void SymbolTable::
   if (comp < 0)
     Sym->Body = New;
   else if (comp == 0)
-    dupErorr<ELFT>(*Existing, *New);
+    dupError<ELFT>(*Existing, *New);
 }
 
 Symbol *SymbolTable::insert(SymbolBody *New) {

Modified: lld/trunk/ELF/SymbolTable.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.h?rev=248488&r1=248487&r2=248488&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.h (original)
+++ lld/trunk/ELF/SymbolTable.h Thu Sep 24 07:58:44 2015
@@ -71,7 +71,7 @@ private:
   template <class ELFT> void init(uint16_t EMachine);
   template <class ELFT> void resolve(SymbolBody *Body);
   template <class ELFT>
-  void dupErorr(const SymbolBody &Old, const SymbolBody &New);
+  void dupError(const SymbolBody &Old, const SymbolBody &New);
 
   std::vector<std::unique_ptr<ArchiveFile>> ArchiveFiles;
 




More information about the llvm-commits mailing list