From 013041ad5c21a8889faeaa569e3d1c1575c21762 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 26 May 2015 16:24:42 +0000 Subject: [PATCH] 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 --- include/llvm/Object/COFF.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- 2.34.1