[lld] r261943 - Fix typo in comment.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 25 16:10:01 PST 2016


Author: ruiu
Date: Thu Feb 25 18:10:01 2016
New Revision: 261943

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

Modified:
    lld/trunk/ELF/ICF.cpp

Modified: lld/trunk/ELF/ICF.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/ICF.cpp?rev=261943&r1=261942&r2=261943&view=diff
==============================================================================
--- lld/trunk/ELF/ICF.cpp (original)
+++ lld/trunk/ELF/ICF.cpp Thu Feb 25 18:10:01 2016
@@ -267,13 +267,13 @@ bool ICF<ELFT>::variableEq(const InputSe
   const RelTy *EA = RelsA.end();
   const RelTy *IB = RelsB.begin();
   for (; IA != EA; ++IA, ++IB) {
-    // If both IA and BA are pointing to the same local symbol,
+    // If both IA and IB are pointing to the same local symbol,
     // this "if" condition must be true.
     if (A->File == B->File &&
         IA->getSymbol(Config->Mips64EL) == IB->getSymbol(Config->Mips64EL))
       continue;
 
-    // Otherwise, IA and BA must be pointing to the global symbols.
+    // Otherwise, IA and IB must be pointing to the global symbols.
     SymbolBody *SA = getSymbol(A, (const Elf_Rel *)IA);
     SymbolBody *SB = getSymbol(B, (const Elf_Rel *)IB);
     if (!SA || !SB)




More information about the llvm-commits mailing list