21
21
// RUN: %clang -MD -MF - %s -fsyntax-only -I ./ | FileCheck -check-prefix=CHECK-SIX %s
22
22
// CHECK-SIX: {{ }}x.h
23
23
// RUN: echo "fun:foo" > %t.blacklist
24
- // RUN: %clang -MD -MF - %s -fsyntax-only -resource-dir=%S/Inputs/resource_dir_with_cfi_blacklist -fsanitize=cfi-vcall -flto -fvisibility=hidden -fsanitize-blacklist=%t.blacklist -I ./ | FileCheck -check-prefix=CHECK-SEVEN %s
24
+ // RUN: %clang -MD -MF - %s -fsyntax-only -resource-dir=%S/Inputs/resource_dir_with_sanitizer_blacklist -fsanitize=undefined -flto -fvisibility=hidden -fsanitize-blacklist=%t.blacklist -I ./ | FileCheck -check-prefix=CHECK-SEVEN %s
25
25
// CHECK-SEVEN: .blacklist
26
26
// CHECK-SEVEN: {{ }}x.h
27
27
#ifndef INCLUDE_FLAG_TEST
30
30
31
31
// RUN: echo "fun:foo" > %t.blacklist1
32
32
// RUN: echo "fun:foo" > %t.blacklist2
33
- // RUN: %clang -MD -MF - %s -fsyntax-only -resource-dir=%S/Inputs/resource_dir_with_cfi_blacklist -fsanitize=cfi-vcall -flto -fvisibility=hidden -fsanitize-blacklist=%t.blacklist1 -fsanitize-blacklist=%t.blacklist2 -I ./ | FileCheck -check-prefix=TWO-BLACK-LISTS %s
33
+ // RUN: %clang -MD -MF - %s -fsyntax-only -resource-dir=%S/Inputs/resource_dir_with_sanitizer_blacklist -fsanitize=undefined -flto -fvisibility=hidden -fsanitize-blacklist=%t.blacklist1 -fsanitize-blacklist=%t.blacklist2 -I ./ | FileCheck -check-prefix=TWO-BLACK-LISTS %s
34
34
// TWO-BLACK-LISTS: dependency-gen.o:
35
35
// TWO-BLACK-LISTS-DAG: blacklist1
36
36
// TWO-BLACK-LISTS-DAG: blacklist2
37
37
// TWO-BLACK-LISTS-DAG: x.h
38
38
// TWO-BLACK-LISTS-DAG: dependency-gen.c
39
39
40
- // RUN: %clang -MD -MF - %s -fsyntax-only -resource-dir=%S/Inputs/resource_dir_with_cfi_blacklist -fsanitize=cfi-vcall -flto -fvisibility=hidden -I ./ | FileCheck -check-prefix=USER-AND-SYS-DEPS %s
40
+ // RUN: %clang -MD -MF - %s -fsyntax-only -resource-dir=%S/Inputs/resource_dir_with_sanitizer_blacklist -fsanitize=undefined -flto -fvisibility=hidden -I ./ | FileCheck -check-prefix=USER-AND-SYS-DEPS %s
41
41
// USER-AND-SYS-DEPS: dependency-gen.o:
42
- // USER-AND-SYS-DEPS-DAG: cfi_blacklist .txt
42
+ // USER-AND-SYS-DEPS-DAG: ubsan_blacklist .txt
43
43
44
- // RUN: %clang -MMD -MF - %s -fsyntax-only -resource-dir=%S/Inputs/resource_dir_with_cfi_blacklist -fsanitize=cfi-vcall -flto -fvisibility=hidden -I ./ | FileCheck -check-prefix=ONLY-USER-DEPS %s
44
+ // RUN: %clang -MMD -MF - %s -fsyntax-only -resource-dir=%S/Inputs/resource_dir_with_sanitizer_blacklist -fsanitize=undefined -flto -fvisibility=hidden -I ./ | FileCheck -check-prefix=ONLY-USER-DEPS %s
45
45
// ONLY-USER-DEPS: dependency-gen.o:
46
- // NOT-ONLY-USER-DEPS: cfi_blacklist .txt
46
+ // NOT-ONLY-USER-DEPS: ubsan_blacklist .txt
0 commit comments