forked from OSchip/llvm-project
Object/COFF: Add coff_import_header.
This type is described in the PE/COFF spec section 7.1. llvm-svn: 238275
This commit is contained in:
parent
62efb1f6d0
commit
21b359ae9c
|
@ -449,6 +449,17 @@ struct coff_aux_clr_token {
|
|||
support::ulittle32_t SymbolTableIndex;
|
||||
};
|
||||
|
||||
struct coff_import_header {
|
||||
support::ulittle16_t Sig1;
|
||||
support::ulittle16_t Sig2;
|
||||
support::ulittle16_t Version;
|
||||
support::ulittle16_t Machine;
|
||||
support::ulittle32_t TimeDateStamp;
|
||||
support::ulittle32_t SizeOfData;
|
||||
support::ulittle16_t OrdinalHint;
|
||||
support::ulittle16_t TypeInfo;
|
||||
};
|
||||
|
||||
struct coff_import_directory_table_entry {
|
||||
support::ulittle32_t ImportLookupTableRVA;
|
||||
support::ulittle32_t TimeDateStamp;
|
||||
|
|
Loading…
Reference in New Issue