summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-02-27 22:20:07 +0000
committerRui Ueyama <ruiu@google.com>2014-02-27 22:20:07 +0000
commit8594ec65709e4007ba814cfec32e2664adac6789 (patch)
tree43c8e7759e50d709b503750ddc45274d74e0c621 /include
parent4c34f71b81c1d4ce6801b8d8fd2ec6a09198d129 (diff)
downloadllvm-8594ec65709e4007ba814cfec32e2664adac6789.tar.gz
llvm-8594ec65709e4007ba814cfec32e2664adac6789.tar.bz2
llvm-8594ec65709e4007ba814cfec32e2664adac6789.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Object/COFF.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h
index dfcff2b411..4a8c8bf074 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;