[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / llvm-cov / zeroFunctionFile.c
blobf463007fe7f60f401a7a3d97c075c19724431bd7
1 #include "Inputs/zeroFunctionFile.h"
3 int foo(int x) {
4 return NOFUNCTIONS(x);
6 int main() {
7 return foo(2);
10 // RUN: llvm-profdata merge %S/Inputs/zeroFunctionFile.proftext -o %t.profdata
12 // RUN: llvm-cov report %S/Inputs/zeroFunctionFile.covmapping -instr-profile %t.profdata 2>&1 | FileCheck --check-prefix=REPORT --strict-whitespace %s
13 // REPORT: Files which contain no functions
14 // REPORT: zeroFunctionFile.h
16 // RUN: llvm-cov show -j 1 %S/Inputs/zeroFunctionFile.covmapping -format html -instr-profile %t.profdata -o %t.dir
17 // RUN: FileCheck %s -input-file=%t.dir/index.html -check-prefix=HTML
18 // HTML-NO: 0.00% (0/0)
19 // HTML: Files which contain no functions
20 // HTML: zeroFunctionFile.h