[llvm] r199972 - Add constants for optional header magic field.
Rui Ueyama
ruiu at google.com
Thu Jan 23 20:21:00 PST 2014
Author: ruiu
Date: Thu Jan 23 22:21:00 2014
New Revision: 199972
URL: http://llvm.org/viewvc/llvm-project?rev=199972&view=rev
Log:
Add constants for optional header magic field.
Modified:
llvm/trunk/include/llvm/Support/COFF.h
Modified: llvm/trunk/include/llvm/Support/COFF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/COFF.h?rev=199972&r1=199971&r2=199972&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/COFF.h (original)
+++ llvm/trunk/include/llvm/Support/COFF.h Thu Jan 23 22:21:00 2014
@@ -451,6 +451,11 @@ namespace COFF {
};
struct PEHeader {
+ enum {
+ PE32 = 0x10b,
+ PE32_PLUS = 0x20b
+ };
+
uint16_t Magic;
uint8_t MajorLinkerVersion;
uint8_t MinorLinkerVersion;
More information about the llvm-commits
mailing list