mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Delete dead code. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c79346d81
commit
b82800d00e
@ -304,7 +304,6 @@ public:
|
||||
const T *getEntry(uint32_t Section, uint32_t Entry) const;
|
||||
template <typename T>
|
||||
const T *getEntry(const Elf_Shdr *Section, uint32_t Entry) const;
|
||||
const char *getString(uint32_t section, uint32_t offset) const;
|
||||
const char *getString(const Elf_Shdr *section, uint32_t offset) const;
|
||||
const char *getDynamicString(uintX_t Offset) const;
|
||||
ErrorOr<StringRef> getSymbolVersion(const Elf_Shdr *section,
|
||||
@ -934,12 +933,6 @@ ELFFile<ELFT>::getSection(uint32_t index) const {
|
||||
+ (index * Header->e_shentsize));
|
||||
}
|
||||
|
||||
template <class ELFT>
|
||||
const char *ELFFile<ELFT>::getString(uint32_t section,
|
||||
ELF::Elf32_Word offset) const {
|
||||
return getString(getSection(section), offset);
|
||||
}
|
||||
|
||||
template <class ELFT>
|
||||
const char *ELFFile<ELFT>::getString(const Elf_Shdr *section,
|
||||
ELF::Elf32_Word offset) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user