Delete dead code.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 23 Jul 2015 13:42:16 +0000 (13:42 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 23 Jul 2015 13:42:16 +0000 (13:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243015 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/ELF.h

index 2c3d841553e033145ac470fd61b0a961050be430..4518ffae66175d934a90e41f43d55f250428a7c1 100644 (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;