From d8a62d931e4cf3fa4a4657e59cea3b1596fb57f3 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 21 Jul 2015 18:20:17 +0000 Subject: [PATCH] Remove getDynamicSymbolName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242821 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/ELF.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/llvm/Object/ELF.h b/include/llvm/Object/ELF.h index 6ebb92f7ee8..524d42540b7 100644 --- a/include/llvm/Object/ELF.h +++ b/include/llvm/Object/ELF.h @@ -388,8 +388,6 @@ public: ErrorOr getSection(uint32_t Index) const; const Elf_Sym *getSymbol(uint32_t index) const; - ErrorOr getDynamicSymbolName(const Elf_Sym *Symb) const; - ErrorOr getSectionName(const Elf_Shdr *Section) const; ErrorOr > getSectionContents(const Elf_Shdr *Sec) const; StringRef getLoadName() const; @@ -896,12 +894,6 @@ const char *ELFFile::getDynamicString(uintX_t Offset) const { return (const char *)DynStrRegion.Addr + Offset; } -template -ErrorOr -ELFFile::getDynamicSymbolName(const Elf_Sym *Symb) const { - return StringRef(getDynamicString(Symb->st_name)); -} - template ErrorOr ELFFile::getSectionName(const Elf_Shdr *Section) const { -- 2.34.1