17 lines · plain
1RUN: mkdir -p %t.d2RUN: cd %t.d3 4RUN: %clang --coverage -o %t %S/Inputs/instrprof-gcov-switch1.c -dumpdir ./5RUN: test -f instrprof-gcov-switch1.gcno6RUN: rm -f instrprof-gcov-switch1.gcda7RUN: %run %t8RUN: llvm-cov gcov instrprof-gcov-switch1.gcda9RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-switch1.c.gcov %S/Inputs/instrprof-gcov-switch1.c.gcov10 11RUN: %clang --coverage -o %t %S/Inputs/instrprof-gcov-switch2.c -dumpdir ./12RUN: test -f instrprof-gcov-switch2.gcno13RUN: rm -f instrprof-gcov-switch2.gcda14RUN: %run %t15RUN: llvm-cov gcov instrprof-gcov-switch2.gcda16RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-switch2.c.gcov %S/Inputs/instrprof-gcov-switch2.c.gcov17