summaryrefslogtreecommitdiff
path: root/include/llvm/Object/COFF.h
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2012-10-29 10:47:00 +0000
committerTim Northover <Tim.Northover@arm.com>2012-10-29 10:47:00 +0000
commita41dce3c642e50775352cce49e3a3d0cd004d393 (patch)
tree21942c757833f1a9310f5f7c865148acd36e6a12 /include/llvm/Object/COFF.h
parent976f770e2d008d323b760393c998cfc912763eec (diff)
downloadllvm-a41dce3c642e50775352cce49e3a3d0cd004d393.tar.gz
llvm-a41dce3c642e50775352cce49e3a3d0cd004d393.tar.bz2
llvm-a41dce3c642e50775352cce49e3a3d0cd004d393.tar.xz
Add interface for querying object files for symbol values.
Currently only implemented for ELF. Patch by Amara Emerson. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/COFF.h')
-rw-r--r--include/llvm/Object/COFF.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h
index d6b92ed021..6f42d76ee9 100644
--- a/include/llvm/Object/COFF.h
+++ b/include/llvm/Object/COFF.h
@@ -116,6 +116,7 @@ protected:
virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::Type &Res) const;
virtual error_code getSymbolSection(DataRefImpl Symb,
section_iterator &Res) const;
+ virtual error_code getSymbolValue(DataRefImpl Symb, uint64_t &Val) const;
virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const;
virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const;