mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
476706ed94
commit
746609067c
@ -390,7 +390,6 @@ public:
|
||||
|
||||
ErrorOr<StringRef> getStaticSymbolName(const Elf_Sym *Symb) const;
|
||||
ErrorOr<StringRef> getDynamicSymbolName(const Elf_Sym *Symb) const;
|
||||
ErrorOr<StringRef> getSymbolName(const Elf_Sym *Symb, bool IsDynamic) const;
|
||||
|
||||
ErrorOr<StringRef> getSectionName(const Elf_Shdr *Section) const;
|
||||
ErrorOr<ArrayRef<uint8_t> > getSectionContents(const Elf_Shdr *Sec) const;
|
||||
@ -910,14 +909,6 @@ ELFFile<ELFT>::getDynamicSymbolName(const Elf_Sym *Symb) const {
|
||||
return StringRef(getDynamicString(Symb->st_name));
|
||||
}
|
||||
|
||||
template <class ELFT>
|
||||
ErrorOr<StringRef> ELFFile<ELFT>::getSymbolName(const Elf_Sym *Symb,
|
||||
bool IsDynamic) const {
|
||||
if (IsDynamic)
|
||||
return getDynamicSymbolName(Symb);
|
||||
return getStaticSymbolName(Symb);
|
||||
}
|
||||
|
||||
template <class ELFT>
|
||||
ErrorOr<StringRef>
|
||||
ELFFile<ELFT>::getSectionName(const Elf_Shdr *Section) const {
|
||||
|
Loading…
Reference in New Issue
Block a user