[ELF] - Update after LLVM r314883 change. NFC.

llvm-svn: 314884
This commit is contained in:
George Rimar
2017-10-04 08:50:34 +00:00
parent 099960d322
commit ed906d8e63
3 changed files with 4 additions and 12 deletions

View File

@@ -933,7 +933,7 @@ template <class ELFT> void BinaryFile::parse() {
// characters in a filename are replaced with underscore.
std::string S = "_binary_" + MB.getBufferIdentifier().str();
for (size_t I = 0; I < S.size(); ++I)
if (!elf::isAlnum(S[I]))
if (!isAlnum(S[I]))
S[I] = '_';
Symtab->addRegular<ELFT>(Saver.save(S + "_start"), STV_DEFAULT, STT_OBJECT,