Delete dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243015 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-07-23 13:42:16 +00:00
parent 52f969b029
commit 826e95913b

View File

@ -272,9 +272,6 @@ public:
const Elf_Sym *getSymbol(const Elf_Shdr *Sec, uint32_t Index) const {
return &*(symbol_begin(Sec) + Index);
}
const Elf_Sym *getSymbol(uint32_t Index) const {
return getSymbol(dot_symtab_sec, Index);
}
ErrorOr<StringRef> getSectionName(const Elf_Shdr *Section) const;
ErrorOr<ArrayRef<uint8_t> > getSectionContents(const Elf_Shdr *Sec) const;