llvm-project/llvm/test/tools/llvm-cov/missing-binaries.test
MaggieYingYi cd8fe1dbcb
[llvm-cov] - Output better error message when the error kind is coveragemap_error::malforme. (#65264)
The current llvm-cov error message for kind `coveragemap_error::malforme`, just gives the issue kind without any reason for what caused the issue. This patch is aimed at improving the llvm-cov error message to help identify what caused the issue.

Reviewed By: MaskRay
Close: https://github.com/llvm/llvm-project/pull/65264
2023-09-06 15:02:31 +01:00

5 lines
273 B
Plaintext

RUN: llvm-profdata merge %S/Inputs/binary-formats.proftext -o %t.profdata
RUN: not llvm-cov show -instr-profile=%t.profdata --object=%t.nonexistent.binary.1 --object=%t.nonexistent.binary.2 2>&1 | FileCheck %s
CHECK: failed to load coverage: '{{.*}}nonexistent.binary.1':