From: Rafael Espindola Date: Thu, 23 Jul 2015 13:42:16 +0000 (+0000) Subject: Delete dead code. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=826e95913b410bf1c3240e6bf728a00cbd180cfd;p=oota-llvm.git Delete dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243015 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Object/ELF.h b/include/llvm/Object/ELF.h index 2c3d841553e..4518ffae661 100644 --- a/include/llvm/Object/ELF.h +++ b/include/llvm/Object/ELF.h @@ -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 getSectionName(const Elf_Shdr *Section) const; ErrorOr > getSectionContents(const Elf_Shdr *Sec) const;