From 8594ec65709e4007ba814cfec32e2664adac6789 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Thu, 27 Feb 2014 22:20:07 +0000 Subject: [PATCH] Object/COFF: Add a struct for the function table in .pdata. This is the data structure listed on Microsoft PE/COFF Spec Revision 8.3, p. 80. The name of the struct is not mentioned in the Microsoft PE/COFF spec, so I made it up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202438 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/COFF.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h index dfcff2b4119..4a8c8bf0740 100644 --- a/include/llvm/Object/COFF.h +++ b/include/llvm/Object/COFF.h @@ -267,6 +267,12 @@ struct coff_load_configuration32 { support::ulittle32_t SEHandlerCount; }; +struct coff_pdata_x64 { + support::ulittle32_t BeginAddress; + support::ulittle32_t EndAddress; + support::ulittle32_t UnwindInformation; +}; + class COFFObjectFile : public ObjectFile { private: friend class ImportDirectoryEntryRef; -- 2.11.0