mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
InstrProf: Give coverage its own errors instead of piggy backing on instrprof
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
This commit is contained in:
@@ -3,4 +3,4 @@ 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 header
|
||||
CHECK: error: {{.+}}: Invalid profile data (file header is corrupt)
|
||||
|
||||
Reference in New Issue
Block a user