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
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':
|