From 6fac32b176b4205167075d11fcba93c68aac5e38 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 20 Feb 2014 06:51:07 +0000 Subject: 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 --- include/llvm/Object/COFF.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/llvm/Object/COFF.h') 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 &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; -- cgit v1.2.3