summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-02-20 06:51:07 +0000
committerRui Ueyama <ruiu@google.com>2014-02-20 06:51:07 +0000
commit6fac32b176b4205167075d11fcba93c68aac5e38 (patch)
treeb4f257f0a8bc73c1bd328e5ba796851778521965 /include
parentccb98645b6bb25c3216043d3817ce1b860d37a34 (diff)
downloadllvm-6fac32b176b4205167075d11fcba93c68aac5e38.tar.gz
llvm-6fac32b176b4205167075d11fcba93c68aac5e38.tar.bz2
llvm-6fac32b176b4205167075d11fcba93c68aac5e38.tar.xz
llvm-objdump/COFF: Print SEH table addresses.
SEH table addresses are VA in COFF file. In this patch we convert VA to RVA before printing it, because dumpbin prints them as RVAs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-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 a7a112a864..dd36067485 100644
--- a/include/llvm/Object/COFF.h
+++ b/include/llvm/Object/COFF.h
@@ -397,6 +397,7 @@ public:
error_code getSectionContents(const coff_section *Sec,
ArrayRef<uint8_t> &Res) const;
+ error_code getVaPtr(uint32_t Rva, uintptr_t &Res) const;
error_code getRvaPtr(uint32_t Rva, uintptr_t &Res) const;
error_code getHintName(uint32_t Rva, uint16_t &Hint, StringRef &Name) const;