summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/BinaryFormat
diff options
context:
space:
mode:
authorEric Beckmann <ecbeckmann@google.com>2017-07-05 19:04:48 +0000
committerEric Beckmann <ecbeckmann@google.com>2017-07-05 19:04:48 +0000
commit1d50926e71170ac6ef1ea38b97ac2329109afa4a (patch)
treeffd77c284bc1bb8fd5d51c7d302e2d7a2924514d /llvm/unittests/BinaryFormat
parent0eafa581a3878c5fb52a513bb329fa82002e72da (diff)
downloadbcm5719-llvm-1d50926e71170ac6ef1ea38b97ac2329109afa4a.tar.gz
bcm5719-llvm-1d50926e71170ac6ef1ea38b97ac2329109afa4a.zip
Revert "Revert "Replace trivial use of external rc.exe by writing our own .res file.""
This reverts commit 8c8dce3b8f15d6ebaefc35ce88f15a85c8cdbd6e. llvm-svn: 307191
Diffstat (limited to 'llvm/unittests/BinaryFormat')
-rw-r--r--llvm/unittests/BinaryFormat/TestFileMagic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/BinaryFormat/TestFileMagic.cpp b/llvm/unittests/BinaryFormat/TestFileMagic.cpp
index fc2c1eef9fb..68b3ade0095 100644
--- a/llvm/unittests/BinaryFormat/TestFileMagic.cpp
+++ b/llvm/unittests/BinaryFormat/TestFileMagic.cpp
@@ -76,7 +76,8 @@ const char macho_dsym_companion[] =
"\xfe\xed\xfa\xce........\x00\x00\x00\x0a............";
const char macho_kext_bundle[] =
"\xfe\xed\xfa\xce........\x00\x00\x00\x0b............";
-const char windows_resource[] = "\x00\x00\x00\x00\x020\x00\x00\x00\xff";
+const char windows_resource[] =
+ "\x00\x00\x00\x00\x020\x00\x00\x00\xff\xff\x00\x00\xff\xff\x00\x00";
const char macho_dynamically_linked_shared_lib_stub[] =
"\xfe\xed\xfa\xce........\x00\x00\x00\x09............";
OpenPOWER on IntegriCloud