summaryrefslogtreecommitdiff
path: root/include/llvm/BinaryFormat/COFF.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/BinaryFormat/COFF.h')
-rw-r--r--include/llvm/BinaryFormat/COFF.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/BinaryFormat/COFF.h b/include/llvm/BinaryFormat/COFF.h
index 5171c72b9e670..df173a80e09b1 100644
--- a/include/llvm/BinaryFormat/COFF.h
+++ b/include/llvm/BinaryFormat/COFF.h
@@ -46,6 +46,12 @@ static const char ClGlObjMagic[] = {
'\xac', '\x9b', '\xd6', '\xb6', '\x22', '\x26', '\x53', '\xc2',
};
+// The signature bytes that start a .res file.
+static const char WinResMagic[] = {
+ '\x00', '\x00', '\x00', '\x00', '\x20', '\x00', '\x00', '\x00',
+ '\xff', '\xff', '\x00', '\x00', '\xff', '\xff', '\x00', '\x00',
+};
+
// Sizes in bytes of various things in the COFF format.
enum {
Header16Size = 20,