llvm-project/llvm/test/tools/llvm-cov/double_dots.c

12 lines
492 B
C
Raw Normal View History

2016-06-30 00:23:34 +08:00
// To create the covmapping for this file, copy this file to /tmp/dots/,
// cd into /tmp/dots, and pass "../dots/double_dots.c" to the compiler. Use
// llvm-cov convert-for-testing to extract the covmapping.
// RUN: llvm-profdata merge %S/Inputs/double_dots.proftext -o %t.profdata
// RUN: llvm-cov show %S/Inputs/double_dots.covmapping -instr-profile=%t.profdata -o %t.dir
// RUN: FileCheck -input-file=%t.dir/index.txt %s
// CHECK-NOT: coverage{{.*}}dots{{.*}}..{{.*}}dots
int main() {}