summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-05-06 23:19:35 +0000
committerJustin Bogner <mail@justinbogner.com>2015-05-06 23:19:35 +0000
commit367a9f28c18199d9b259f9c0fdf1365df3133931 (patch)
treeda79ec71faf0347eba397aaedb02da4595362ec4 /llvm/test/tools
parent0b13086366cd041da87b99883111969ee1212df3 (diff)
downloadbcm5719-llvm-367a9f28c18199d9b259f9c0fdf1365df3133931.tar.gz
bcm5719-llvm-367a9f28c18199d9b259f9c0fdf1365df3133931.zip
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. llvm-svn: 236665
Diffstat (limited to 'llvm/test/tools')
-rw-r--r--llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test2
1 files changed, 1 insertions, 1 deletions
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 6db723c3e25..b2a697042b0 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
@@ -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)
OpenPOWER on IntegriCloud