From: Rui Ueyama Date: Fri, 13 Dec 2013 05:19:17 +0000 (+0000) Subject: Object/COFF: ExportAddressTableEntry is a union of two RVAs. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e93ec87db1d20e54e4f6924c38e80e4d33937d0c;p=oota-llvm.git Object/COFF: ExportAddressTableEntry is a union of two RVAs. The previous definition was wrong. See Microsoft PE/COFF specification section 5.3.2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197204 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h index 239cb1b9880..aaffbbcb5e7 100644 --- a/include/llvm/Object/COFF.h +++ b/include/llvm/Object/COFF.h @@ -171,7 +171,7 @@ struct export_directory_table_entry { support::ulittle32_t OrdinalTableRVA; }; -struct export_address_table_entry { +union export_address_table_entry { support::ulittle32_t ExportRVA; support::ulittle32_t ForwarderRVA; };