[lld] r257072 - Fix typo.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 7 08:41:07 PST 2016
Author: ruiu
Date: Thu Jan 7 10:41:06 2016
New Revision: 257072
URL: http://llvm.org/viewvc/llvm-project?rev=257072&view=rev
Log:
Fix typo.
They happened to be anagrams.
Modified:
lld/trunk/ELF/OutputSections.cpp
Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=257072&r1=257071&r2=257072&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Thu Jan 7 10:41:06 2016
@@ -1182,7 +1182,7 @@ template <class ELFT> void StringTableSe
Reserved += S.size() + 1; // +1 for NUL
}
-// Adds a string to the string table. You must call reverse() with the
+// Adds a string to the string table. You must call reserve() with the
// same string before calling addString().
template <class ELFT> size_t StringTableSection<ELFT>::addString(StringRef S) {
size_t Pos = Used;
More information about the llvm-commits
mailing list