diff options
Diffstat (limited to 'include/llvm/Object/ELFObjectFile.h')
-rw-r--r-- | include/llvm/Object/ELFObjectFile.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Object/ELFObjectFile.h b/include/llvm/Object/ELFObjectFile.h index 9bdee9f569..bbb09f6328 100644 --- a/include/llvm/Object/ELFObjectFile.h +++ b/include/llvm/Object/ELFObjectFile.h @@ -68,7 +68,6 @@ protected: SymbolRef::Type &Res) const override; error_code getSymbolSection(DataRefImpl Symb, section_iterator &Res) const override; - error_code getSymbolValue(DataRefImpl Symb, uint64_t &Val) const override; error_code getLibraryNext(DataRefImpl Data, LibraryRef &Result) const override; @@ -396,14 +395,6 @@ error_code ELFObjectFile<ELFT>::getSymbolSection(DataRefImpl Symb, } template <class ELFT> -error_code ELFObjectFile<ELFT>::getSymbolValue(DataRefImpl Symb, - uint64_t &Val) const { - const Elf_Sym *ESym = getSymbol(Symb); - Val = ESym->st_value; - return object_error::success; -} - -template <class ELFT> void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { Sec = toDRI(++toELFShdrIter(Sec)); } |