Files
clang-p2996/llvm/test/tools/llvm-cov/missing-binaries.test
Zequan Wu 4979b16db1 [llvm-cov] Improve error message by printing the object file name that produces error
If error occurs on constructing coverage info for one of the object files, it prints the name of the object file, so that users know which one is the cause of error.

Differential Revision: https://reviews.llvm.org/D130196
2022-07-21 11:26:51 -07: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':