mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 00:43:48 +00:00
Remove getDynamicSymbolName.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ed0d629ce
commit
d8a62d931e
@ -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;
|
||||
@ -896,12 +894,6 @@ const char *ELFFile<ELFT>::getDynamicString(uintX_t Offset) const {
|
||||
return (const char *)DynStrRegion.Addr + Offset;
|
||||
}
|
||||
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user