projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
InstrProf: Actually detect bad headers
[oota-llvm.git]
/
test
/
tools
/
llvm-profdata
/
raw-magic-but-no-header.test
1
RUN: printf "warforpl" > %t
2
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
3
RUN: printf "lprofraw" > %t
4
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
5
6
CHECK: error: {{.+}}: Invalid header