projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8290d17
)
Object/COFF: ExportAddressTableEntry is a union of two RVAs.
author
Rui Ueyama
<ruiu@google.com>
Fri, 13 Dec 2013 05:19:17 +0000
(
05:19
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 13 Dec 2013 05:19:17 +0000
(
05:19
+0000)
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
patch
|
blob
|
history
diff --git
a/include/llvm/Object/COFF.h
b/include/llvm/Object/COFF.h
index 239cb1b988031e2ae3a946d93dbfb558e2dbb135..aaffbbcb5e793745c5015c0f7d5e36f5741addd0 100644
(file)
--- 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;
};