[llvm] r244378 - Delete dead code. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 7 17:25:57 PDT 2015
Author: rafael
Date: Fri Aug 7 19:25:57 2015
New Revision: 244378
URL: http://llvm.org/viewvc/llvm-project?rev=244378&view=rev
Log:
Delete dead code. NFC.
Modified:
llvm/trunk/include/llvm/Object/ELF.h
Modified: llvm/trunk/include/llvm/Object/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELF.h?rev=244378&r1=244377&r2=244378&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELF.h (original)
+++ llvm/trunk/include/llvm/Object/ELF.h Fri Aug 7 19:25:57 2015
@@ -68,7 +68,6 @@ private:
const Elf_Ehdr *Header;
const Elf_Shdr *SectionHeaderTable = nullptr;
StringRef DotShstrtab; // Section header string table.
- StringRef DotStrtab; // Symbol header string table.
const Elf_Shdr *dot_symtab_sec = nullptr; // Symbol table section.
const Elf_Shdr *SymbolTableSectionHeaderIndex = nullptr;
@@ -377,10 +376,6 @@ ELFFile<ELFT>::ELFFile(StringRef Object,
return;
}
dot_symtab_sec = &Sec;
- ErrorOr<StringRef> SymtabOrErr = getStringTableForSymtab(Sec);
- if ((EC = SymtabOrErr.getError()))
- return;
- DotStrtab = *SymtabOrErr;
} break;
}
}
More information about the llvm-commits
mailing list