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:
a1f7c26
)
Add constants for optional header magic field.
author
Rui Ueyama
<ruiu@google.com>
Fri, 24 Jan 2014 04:21:00 +0000
(
04:21
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 24 Jan 2014 04:21:00 +0000
(
04:21
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199972
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/COFF.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/COFF.h
b/include/llvm/Support/COFF.h
index 2de01000a7408235143651b2c75c503dffabd17a..d9529dcc38bf56385ce5574d621c9f849232dea7 100644
(file)
--- a/
include/llvm/Support/COFF.h
+++ b/
include/llvm/Support/COFF.h
@@
-451,6
+451,11
@@
namespace COFF {
};
struct PEHeader {
+ enum {
+ PE32 = 0x10b,
+ PE32_PLUS = 0x20b
+ };
+
uint16_t Magic;
uint8_t MajorLinkerVersion;
uint8_t MinorLinkerVersion;