summaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorEric Beckmann <ecbeckmann@google.com>2017-07-05 23:45:50 +0000
committerEric Beckmann <ecbeckmann@google.com>2017-07-05 23:45:50 +0000
commit4f70e7e8d8416907188a83e3d4cbe3ed775cacff (patch)
tree187ad9545bfb93db59fb79033e4da5cf60766a12 /unittests
parent3208bb2d1dd3c9824da7929febc84aca90589f29 (diff)
Revert "Revert "Revert "Replace trivial use of external rc.exe by writing our own .res file."""
This reverts commit 5fecbbbe5049665d86834cf69d8f75db4f392308. The initial revert was done in order to prevent ongoing errors on chromium bots such as CrWinClangLLD. However, this was done haphazardly and I didn't realize there were test and compilation failures, so this revert was reverted. Now that those have been fixed, we can revert the revert of the revert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/BinaryFormat/TestFileMagic.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/unittests/BinaryFormat/TestFileMagic.cpp b/unittests/BinaryFormat/TestFileMagic.cpp
index 68b3ade00954..fc2c1eef9fbf 100644
--- a/unittests/BinaryFormat/TestFileMagic.cpp
+++ b/unittests/BinaryFormat/TestFileMagic.cpp
@@ -76,8 +76,7 @@ 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\xff\x00\x00\xff\xff\x00\x00";
+const char windows_resource[] = "\x00\x00\x00\x00\x020\x00\x00\x00\xff";
const char macho_dynamically_linked_shared_lib_stub[] =
"\xfe\xed\xfa\xce........\x00\x00\x00\x09............";