[PATCH] [Object/COFF] Add import_directory_table_entry.

Rui Ueyama ruiu at google.com
Thu Jun 27 22:28:04 PDT 2013


Hi Bigcheese,

Add import_directory_table_entry to use for .idata section.

http://llvm-reviews.chandlerc.com/D1059

Files:
  include/llvm/Object/COFF.h

Index: include/llvm/Object/COFF.h
===================================================================
--- include/llvm/Object/COFF.h
+++ include/llvm/Object/COFF.h
@@ -129,6 +129,14 @@
   support::ulittle32_t Size;
 };
 
+struct 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_symbol {
   struct StringTableOffset {
     support::ulittle32_t Zeroes;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1059.1.patch
Type: text/x-patch
Size: 557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130627/a8c76de6/attachment.bin>


More information about the llvm-commits mailing list