1// RUN: llvm-profdata merge %S/Inputs/multiple-files.proftext -o %t.profdata 2// RUN: llvm-cov report %S/Inputs/multiple-files.covmapping -instr-profile %t.profdata | FileCheck %s -check-prefix=MANY_COMPONENTS 3// RUN: llvm-cov report %S/Inputs/multiple-files2.covmapping -instr-profile %t.profdata | FileCheck %s -check-prefix=ONE_COMPONENT 4 5// MANY_COMPONENTS: Filename 6// MANY_COMPONENTS-NEXT: --- 7// MANY_COMPONENTS-NEXT: {{^}}a{{[/\\]}}f2.c 8// MANY_COMPONENTS-NEXT: {{^}}b{{[/\\]}}c{{[/\\]}}f4.c 9// MANY_COMPONENTS-NEXT: {{^}}b{{[/\\]}}f3.c 10// MANY_COMPONENTS-NEXT: {{^}}f1.c 11 12// ONE_COMPONENT: Filename 13// ONE_COMPONENT-NEXT: --- 14// ONE_COMPONENT-NEXT: {{^}}cov.c 15// ONE_COMPONENT-NEXT: {{^}}cov.h 16