From 826e95913b410bf1c3240e6bf728a00cbd180cfd Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 23 Jul 2015 13:42:16 +0000 Subject: [PATCH] Delete dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243015 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/ELF.h | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.34.1