llvm.org GIT mirror llvm / stable test / tools / llvm-cov / export_functions.test
stable

Tree @stable (Download .tar.gz)

export_functions.test @stableraw · history · blame

1
2
3
4
5
6
7
8
# Test that llvm-cov export produces function data by default and that it can be
# turned off with a flag.

RUN: llvm-cov export %S/Inputs/report.covmapping -instr-profile %S/Inputs/report.profdata 2>&1 | FileCheck %s
RUN: llvm-cov export %S/Inputs/report.covmapping -instr-profile %S/Inputs/report.profdata -skip-functions 2>&1 | FileCheck -check-prefix=SKIP-FUNCTIONS %s

CHECK: "functions":[
SKIP-FUNCTIONS-NOT: "functions":[