Lines Matching full:coverage

1 // Test for direct coverage writing with dlopen at coverage level 1 to 3.
3 // RUN: %clangxx_asan -fsanitize-coverage=func -DSHARED %s -shared -o %dynamiclib -fPIC
4 // RUN: %clangxx_asan -fsanitize-coverage=func %s %libdl -o %t
6 // RUN: rm -rf %T/coverage-direct
8 // RUN: mkdir -p %T/coverage-direct/normal
9 // RUN: %env_asan_opts=coverage=1:coverage_direct=0:coverage_dir=%T/coverage-direct/normal:verbosit…
10 // RUN: %sancov print %T/coverage-direct/normal/*.sancov >%T/coverage-direct/normal/out.txt
12 // RUN: mkdir -p %T/coverage-direct/direct
13 // RUN: %env_asan_opts=coverage=1:coverage_direct=1:coverage_dir=%T/coverage-direct/direct:verbosit…
14 // RUN: cd %T/coverage-direct/direct
19 // RUN: diff -u coverage-direct/normal/out.txt coverage-direct/direct/out.txt
22 // RUN: %clangxx_asan -fsanitize-coverage=bb -DSHARED %s -shared -o %dynamiclib -fPIC
23 // RUN: %clangxx_asan -fsanitize-coverage=bb -DSO_DIR=\"%T\" %s %libdl -o %t
25 // RUN: rm -rf %T/coverage-direct
27 // RUN: mkdir -p %T/coverage-direct/normal
28 // RUN: %env_asan_opts=coverage=1:coverage_direct=0:coverage_dir=%T/coverage-direct/normal:verbosit…
29 // RUN: %sancov print %T/coverage-direct/normal/*.sancov >%T/coverage-direct/normal/out.txt
31 // RUN: mkdir -p %T/coverage-direct/direct
32 // RUN: %env_asan_opts=coverage=1:coverage_direct=1:coverage_dir=%T/coverage-direct/direct:verbosit…
33 // RUN: cd %T/coverage-direct/direct
38 // RUN: diff -u coverage-direct/normal/out.txt coverage-direct/direct/out.txt
41 // RUN: %clangxx_asan -fsanitize-coverage=edge -DSHARED %s -shared -o %dynamiclib -fPIC
42 // RUN: %clangxx_asan -fsanitize-coverage=edge -DSO_DIR=\"%T\" %s %libdl -o %t
44 // RUN: rm -rf %T/coverage-direct
46 // RUN: mkdir -p %T/coverage-direct/normal
47 // RUN: %env_asan_opts=coverage=1:coverage_direct=0:coverage_dir=%T/coverage-direct/normal:verbosit…
48 // RUN: %sancov print %T/coverage-direct/normal/*.sancov >%T/coverage-direct/normal/out.txt
50 // RUN: mkdir -p %T/coverage-direct/direct
51 // RUN: %env_asan_opts=coverage=1:coverage_direct=1:coverage_dir=%T/coverage-direct/direct:verbosit…
52 // RUN: cd %T/coverage-direct/direct
57 // RUN: diff -u coverage-direct/normal/out.txt coverage-direct/direct/out.txt