xref: /llvm-project/llvm/test/tools/llvm-cov/load-multiple-objects.test (revision a3661effd9c37ae6b0917f93383c4cfa56f8fa3a)
1*a3661effSVedant Kumar// RUN: llvm-profdata merge %S/Inputs/multiple-files.proftext %S/Inputs/highlightedRanges.profdata -o %t.profdata
2*a3661effSVedant Kumar
3*a3661effSVedant Kumar// RUN: llvm-cov report -object %S/Inputs/multiple-files.covmapping -instr-profile %t.profdata | FileCheck %s -check-prefix=OBJ1
4*a3661effSVedant Kumar
5*a3661effSVedant Kumar// RUN: llvm-cov report %S/Inputs/multiple-files.covmapping -object %S/Inputs/highlightedRanges.covmapping -instr-profile %t.profdata | FileCheck %s -check-prefixes=OBJ1,OBJ2
6*a3661effSVedant Kumar
7*a3661effSVedant Kumar// OBJ2: showHighlightedRanges.cpp
8*a3661effSVedant Kumar// OBJ1: f2.c
9*a3661effSVedant Kumar// OBJ1: f4.c
10*a3661effSVedant Kumar// OBJ1: f3.c
11*a3661effSVedant Kumar// OBJ1: f1.c
12