mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
aa99b531f2
Since the coverage mapping reader and the instrprof reader were emitting a shared set of error codes, the error messages you'd get back from llvm-cov were ambiguous about what was actually wrong. Add another error category to fix this. I've also improved the wording on a couple of the instrprof errors, for consistency. llvm-svn: 236665
7 lines
239 B
Plaintext
7 lines
239 B
Plaintext
RUN: printf '\201rforpl\377' > %t
|
|
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
|
|
RUN: printf '\377lprofr\201' > %t
|
|
RUN: not llvm-profdata show %t 2>&1 | FileCheck %s
|
|
|
|
CHECK: error: {{.+}}: Invalid profile data (file header is corrupt)
|