[llvm] r202438 - Object/COFF: Add a struct for the function table in .pdata.
Rui Ueyama
ruiu at google.com
Thu Feb 27 14:20:07 PST 2014
Author: ruiu
Date: Thu Feb 27 16:20:07 2014
New Revision: 202438
URL: http://llvm.org/viewvc/llvm-project?rev=202438&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Object/COFF.h
Modified: llvm/trunk/include/llvm/Object/COFF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/COFF.h?rev=202438&r1=202437&r2=202438&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/COFF.h (original)
+++ llvm/trunk/include/llvm/Object/COFF.h Thu Feb 27 16:20:07 2014
@@ -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;
More information about the llvm-commits
mailing list