From: Rui Ueyama Date: Tue, 26 May 2015 16:24:42 +0000 (+0000) Subject: Object/COFF: Define .idata import directory table entry. X-Git-Tag: android-x86-7.1-r4~47734 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=013041ad5c21a8889faeaa569e3d1c1575c21762;p=android-x86%2Fexternal-llvm.git Object/COFF: Define .idata import directory table entry. This data type is described in the Microsoft PE/COFF spec rev. 8.3 5.4.1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238214 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h index c83bcec10f2..9664c3b03c9 100644 --- a/include/llvm/Object/COFF.h +++ b/include/llvm/Object/COFF.h @@ -445,6 +445,14 @@ struct coff_aux_clr_token { support::ulittle32_t SymbolTableIndex; }; +struct coff_import_directory_table_entry { + support::ulittle32_t ImportLookupTableRVA; + support::ulittle32_t TimeDateStamp; + support::ulittle32_t ForwarderChain; + support::ulittle32_t NameRVA; + support::ulittle32_t ImportAddressTableRVA; +}; + struct coff_load_configuration32 { support::ulittle32_t Characteristics; support::ulittle32_t TimeDateStamp;