commit | 745a2bf0b8b9f7bb68d033b165ad77dc71c73b94 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Mar 21 20:42:37 2014 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Mar 21 20:42:37 2014 +0000 |
tree | 7b775a75fee0ae97943ab9bed417e15c1417db0c | |
parent | 4c5b7cb1fca96d354d355aa633c1bf2f2da76ea4 [diff] |
InstrProf: Change magic number to have non-text characters Include non-text characters in the magic number so that text files can't match. <rdar://problem/15950346> llvm-svn: 204513
diff --git a/llvm/test/tools/llvm-profdata/Inputs/binary.profdata b/llvm/test/tools/llvm-profdata/Inputs/binary.profdata index 156c483..e8cef21 100644 --- a/llvm/test/tools/llvm-profdata/Inputs/binary.profdata +++ b/llvm/test/tools/llvm-profdata/Inputs/binary.profdata Binary files differ
diff --git a/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test b/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test index e899ece..6db723c 100644 --- a/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test +++ b/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test
@@ -1,6 +1,6 @@ -RUN: printf "warforpl" > %t +RUN: printf '\201rforpl\377' > %t RUN: not llvm-profdata show %t 2>&1 | FileCheck %s -RUN: printf "lprofraw" > %t +RUN: printf '\377lprofr\201' > %t RUN: not llvm-profdata show %t 2>&1 | FileCheck %s CHECK: error: {{.+}}: Invalid header