mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-22 20:26:31 +00:00
a57be10507
Remove the longest common prefix from filenames when printing coverage summaries. This makes them easier to compare. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280895 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
358 B
Plaintext
10 lines
358 B
Plaintext
// RUN: llvm-profdata merge %S/Inputs/multiple-files.proftext -o %t.profdata
|
|
// RUN: llvm-cov report %S/Inputs/multiple-files.covmapping -instr-profile %t.profdata | FileCheck %s
|
|
|
|
// CHECK: Filename
|
|
// CHECK-NEXT: ---
|
|
// CHECK-NEXT: {{^}}a{{[/\\]}}f2.c
|
|
// CHECK-NEXT: {{^}}b{{[/\\]}}c{{[/\\]}}f4.c
|
|
// CHECK-NEXT: {{^}}b{{[/\\]}}f3.c
|
|
// CHECK-NEXT: {{^}}f1.c
|