[llvm] r243015 - Delete dead code.
Rafael Espindola
rafael.espindola at gmail.com
Thu Jul 23 06:42:16 PDT 2015
Author: rafael
Date: Thu Jul 23 08:42:16 2015
New Revision: 243015
URL: http://llvm.org/viewvc/llvm-project?rev=243015&view=rev
Log:
Delete dead code.
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=243015&r1=243014&r2=243015&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ELF.h (original)
+++ llvm/trunk/include/llvm/Object/ELF.h Thu Jul 23 08:42:16 2015
@@ -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;
More information about the llvm-commits
mailing list