Lines Matching full:coverage
3 // First case: coverage from executable. main() is called on every code path.
4 // RUN: %clangxx_asan -fsanitize-coverage=func %s -o %t -DFOOBAR -DMAIN
5 // RUN: rm -rf %T/coverage-missing
6 // RUN: mkdir -p %T/coverage-missing
7 // RUN: cd %T/coverage-missing
8 // RUN: %env_asan_opts=coverage=1:coverage_dir=%T/coverage-missing %run %t
12 // RUN: %env_asan_opts=coverage=1:coverage_dir=%T/coverage-missing %run %t x
16 // RUN: %env_asan_opts=coverage=1:coverage_dir=%T/coverage-missing %run %t x x
27 // Second case: coverage from DSO.
29 // RUN: %clangxx_asan -fsanitize-coverage=func %s -o %dynamiclib -DFOOBAR -shared -fPIC
30 // RUN: %clangxx_asan -fsanitize-coverage=func %s %dynamiclib -o %t -DMAIN
32 // RUN: rm -rf %T/coverage-missing
33 // RUN: mkdir -p %T/coverage-missing
34 // RUN: cd %T/coverage-missing
35 // RUN: %env_asan_opts=coverage=1:coverage_dir=%T/coverage-missing %run %t x
39 // RUN: %env_asan_opts=coverage=1:coverage_dir=%T/coverage-missing %run %t x x