1# Test that llvm-cov export produces function data by default and that it can be
2# turned off with a flag.
3
4RUN: llvm-cov export %S/Inputs/report.covmapping -instr-profile %S/Inputs/report.profdata 2>&1 | FileCheck %s
5RUN: llvm-cov export %S/Inputs/report.covmapping -instr-profile %S/Inputs/report.profdata -skip-functions 2>&1 | FileCheck -check-prefix=SKIP-FUNCTIONS %s
6
7CHECK: "functions":[
8SKIP-FUNCTIONS-NOT: "functions":[
9
10
11