[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / sancov / blacklist.test
blob53f48534dc955bf714cd6990a908324443b933da
1 REQUIRES: x86_64-linux
2 RUN: sancov -covered-functions %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s --check-prefix=ALL
3 RUN: sancov -covered-functions -blacklist %p/Inputs/fun_blacklist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s
4 RUN: sancov -covered-functions -blacklist %p/Inputs/src_blacklist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=CHECK1 %s
5 RUN: sancov -print-coverage-stats %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=STATS %s
6 RUN: sancov -print-coverage-stats -blacklist %p/Inputs/fun_blacklist.txt %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.1.sancov | FileCheck --check-prefix=STATS-BLIST %s
8 ALL: test.cpp:12 bar(std::string)
9 ALL: test.cpp:14 main
11 CHECK-NOT: test.cpp:12 bar(std::string)
12 CHECK: test.cpp:14 main
14 CHECK1-NOT: test.cpp:12 bar(std::string)
15 CHECK1-NOT: test.cpp:14 main
17 STATS: all-edges: 9
18 STATS: cov-edges: 7
19 STATS: all-functions: 3
20 STATS: cov-functions: 3
22 STATS-BLIST: all-edges: 8
23 STATS-BLIST: cov-edges: 6
24 STATS-BLIST: all-functions: 2
25 STATS-BLIST: cov-functions: 2