OSDN Git Service

Object/COFF: Add a struct for the function table in .pdata.
authorRui Ueyama <ruiu@google.com>
Thu, 27 Feb 2014 22:20:07 +0000 (22:20 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 27 Feb 2014 22:20:07 +0000 (22:20 +0000)
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

index dfcff2b..4a8c8bf 100644 (file)
@@ -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;