summaryrefslogtreecommitdiff
path: root/include/llvm/Object/COFF.h
diff options
context:
space:
mode:
authorMarshall Clow <mclow@qualcomm.com>2012-06-18 19:47:16 +0000
committerMarshall Clow <mclow@qualcomm.com>2012-06-18 19:47:16 +0000
commit9ac0f1d7255d7941c331b0a62a830a3b033358fd (patch)
treeab2d8860acceeda6bfea57294b9af5d525a8b0f4 /include/llvm/Object/COFF.h
parent7e99a60857532ca2973cf9dabc790d84a2e15a8a (diff)
downloadllvm-9ac0f1d7255d7941c331b0a62a830a3b033358fd.tar.gz
llvm-9ac0f1d7255d7941c331b0a62a830a3b033358fd.tar.bz2
llvm-9ac0f1d7255d7941c331b0a62a830a3b033358fd.tar.xz
Added accessors for getting coff_relocation info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/COFF.h')
-rw-r--r--include/llvm/Object/COFF.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h
index 29965a9de8..967420ec9f 100644
--- a/include/llvm/Object/COFF.h
+++ b/include/llvm/Object/COFF.h
@@ -170,7 +170,8 @@ public:
const coff_section *getCOFFSection(section_iterator &It) const;
const coff_symbol *getCOFFSymbol(symbol_iterator &It) const;
-
+ const coff_relocation *getCOFFRelocation(relocation_iterator &It) const;
+
virtual uint8_t getBytesInAddress() const;
virtual StringRef getFileFormatName() const;
virtual unsigned getArch() const;