mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
406a47c17f
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236665 91177308-0d34-0410-b5e6-96231b3b80d8
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)
|