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