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
This commit is contained in:
Rui Ueyama
2014-02-27 22:20:07 +00:00
parent 4c34f71b81
commit 8594ec6570

View 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;