aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-07-16 03:23:55 +0000
committerRui Ueyama <ruiu@google.com>2013-07-16 03:23:55 +0000
commit20a91bfd362bf119a1bbaf27d19518328c5e3e90 (patch)
tree5a30259eb295ddf059c587841fd0c1203cea9a39 /include/llvm/Object
parent87be8d353b3454383940ce5abc1a176268a33d33 (diff)
downloadexternal_llvm-20a91bfd362bf119a1bbaf27d19518328c5e3e90.zip
external_llvm-20a91bfd362bf119a1bbaf27d19518328c5e3e90.tar.gz
external_llvm-20a91bfd362bf119a1bbaf27d19518328c5e3e90.tar.bz2
[Object/COFF] Add import_directory_table_entry.
Summary: Add import_directory_table_entry to use for .idata section. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1059 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object')
-rw-r--r--include/llvm/Object/COFF.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h
index ef9cfb5..c7c5c7f 100644
--- a/include/llvm/Object/COFF.h
+++ b/include/llvm/Object/COFF.h
@@ -129,6 +129,14 @@ struct data_directory {
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;