From e93ec87db1d20e54e4f6924c38e80e4d33937d0c Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 13 Dec 2013 05:19:17 +0000 Subject: [PATCH] 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 --- include/llvm/Object/COFF.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.34.1