diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-07-21 18:20:17 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-07-21 18:20:17 +0000 |
commit | 87dff0e05ad75c78d36f6ed6ca165f4401cbbabe (patch) | |
tree | ad42f74fe7a0f431cfce1c80cc0bf0a06fd3fc3c | |
parent | 5f95fa31b3c7b9efa307546945610071f836a23d (diff) | |
download | bcm5719-llvm-87dff0e05ad75c78d36f6ed6ca165f4401cbbabe.tar.gz bcm5719-llvm-87dff0e05ad75c78d36f6ed6ca165f4401cbbabe.zip |
Remove getDynamicSymbolName.
llvm-svn: 242821
-rw-r--r-- | llvm/include/llvm/Object/ELF.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/include/llvm/Object/ELF.h b/llvm/include/llvm/Object/ELF.h index 6ebb92f7ee8..524d42540b7 100644 --- a/llvm/include/llvm/Object/ELF.h +++ b/llvm/include/llvm/Object/ELF.h @@ -388,8 +388,6 @@ public: ErrorOr<const Elf_Shdr *> getSection(uint32_t Index) const; const Elf_Sym *getSymbol(uint32_t index) const; - ErrorOr<StringRef> getDynamicSymbolName(const Elf_Sym *Symb) const; - ErrorOr<StringRef> getSectionName(const Elf_Shdr *Section) const; ErrorOr<ArrayRef<uint8_t> > getSectionContents(const Elf_Shdr *Sec) const; StringRef getLoadName() const; @@ -898,12 +896,6 @@ const char *ELFFile<ELFT>::getDynamicString(uintX_t Offset) const { template <class ELFT> ErrorOr<StringRef> -ELFFile<ELFT>::getDynamicSymbolName(const Elf_Sym *Symb) const { - return StringRef(getDynamicString(Symb->st_name)); -} - -template <class ELFT> -ErrorOr<StringRef> ELFFile<ELFT>::getSectionName(const Elf_Shdr *Section) const { uint32_t Offset = Section->sh_name; if (Offset >= DotShstrtab.size()) |