[lld] r292044 - Fix typo.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 14 18:34:43 PST 2017
Author: ruiu
Date: Sat Jan 14 20:34:42 2017
New Revision: 292044
URL: http://llvm.org/viewvc/llvm-project?rev=292044&view=rev
Log:
Fix typo.
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=292044&r1=292043&r2=292044&view=diff
==============================================================================
--- lld/trunk/ELF/ICF.cpp (original)
+++ lld/trunk/ELF/ICF.cpp Sat Jan 14 20:34:42 2017
@@ -191,7 +191,7 @@ void ICF<ELFT>::segregate(size_t Begin,
size_t Mid = Bound - Sections.begin();
// Now we split [Begin, End) into [Begin, Mid) and [Mid, End) by
- // updating the sections in [Begin, End). We use Mid as an equivalence
+ // updating the sections in [Begin, Mid). We use Mid as an equivalence
// class ID because every group ends with a unique index.
for (size_t I = Begin; I < Mid; ++I)
Sections[I]->Class[Next] = Mid;
@@ -291,7 +291,7 @@ template <class ELFT> size_t ICF<ELFT>::
// groups of sections, grouped by the class.
//
// This function calls Fn on every group that starts within [Begin, End).
-// Note that a group must starts in that range but doesn't necessarily
+// Note that a group must start in that range but doesn't necessarily
// have to end before End.
template <class ELFT>
void ICF<ELFT>::forEachClassRange(size_t Begin, size_t End,
More information about the llvm-commits
mailing list