diff options
author | Rui Ueyama <ruiu@google.com> | 2014-09-11 22:34:32 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-09-11 22:34:32 +0000 |
commit | 5c69ff5cf5c9dc6a4517e37e0613b684164bcfba (patch) | |
tree | 7b416341022ba86ba80101499cc4dd4e8849c8a7 /llvm/unittests/Support/Path.cpp | |
parent | f5e4f37cb67114cde73bea8befa0187b1c32b4c5 (diff) | |
download | llvm-5c69ff5cf5c9dc6a4517e37e0613b684164bcfba.zip llvm-5c69ff5cf5c9dc6a4517e37e0613b684164bcfba.tar.gz llvm-5c69ff5cf5c9dc6a4517e37e0613b684164bcfba.tar.bz2 |
Support: Use llvm::COFF::BigObjMagic
Use llvm::COFF::BigObjMagic insetad of the string literal.
Also checks the version number.
llvm-svn: 217633
Diffstat (limited to 'llvm/unittests/Support/Path.cpp')
-rw-r--r-- | llvm/unittests/Support/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index 54cf96f..a12e9b7 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/unittests/Support/Path.cpp @@ -483,7 +483,7 @@ TEST_F(FileSystemTest, DirectoryIteration) { const char archive[] = "!<arch>\x0A"; const char bitcode[] = "\xde\xc0\x17\x0b"; const char coff_object[] = "\x00\x00......"; -const char coff_bigobj[] = "\x00\x00\xff\xff........" +const char coff_bigobj[] = "\x00\x00\xff\xff\x00\x02......" "\xc7\xa1\xba\xd1\xee\xba\xa9\x4b\xaf\x20\xfa\xf6\x6a\xa4\xdc\xb8"; const char coff_import_library[] = "\x00\x00\xff\xff...."; const char elf_relocatable[] = { 0x7f, 'E', 'L', 'F', 1, 2, 1, 0, 0, |