summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-profdata')
-rw-r--r--llvm/test/tools/llvm-profdata/Inputs/binary.profdatabin1384 -> 1384 bytes
-rw-r--r--llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test4
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-profdata/Inputs/binary.profdata b/llvm/test/tools/llvm-profdata/Inputs/binary.profdata
index 156c483d15f..e8cef21de5f 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 e899ece2755..6db723c3e25 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
OpenPOWER on IntegriCloud