Fix typo.

They happened to be anagrams.

llvm-svn: 257072
This commit is contained in:
Rui Ueyama 2016-01-07 16:41:06 +00:00
parent 5b1cad87aa
commit 7562d0e490
1 changed files with 1 additions and 1 deletions

View File

@ -1182,7 +1182,7 @@ template <class ELFT> void StringTableSection<ELFT>::reserve(StringRef S) {
Reserved += S.size() + 1; // +1 for NUL 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(). // same string before calling addString().
template <class ELFT> size_t StringTableSection<ELFT>::addString(StringRef S) { template <class ELFT> size_t StringTableSection<ELFT>::addString(StringRef S) {
size_t Pos = Used; size_t Pos = Used;