
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
5 lines
273 B
Plaintext
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':
|