File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,10 @@ config HAVE_KCSAN_COMPILER
10
10
For the list of compilers that support KCSAN, please see
11
11
<file:Documentation/dev-tools/kcsan.rst>.
12
12
13
- config KCSAN_KCOV_BROKEN
14
- def_bool KCOV && CC_HAS_SANCOV_TRACE_PC
15
- depends on CC_IS_CLANG
16
- depends on !$(cc-option,-Werror=unused-command-line-argument -fsanitize=thread -fsanitize-coverage=trace-pc)
17
- help
18
- Some versions of clang support either KCSAN and KCOV but not the
19
- combination of the two.
20
- See https://bugs.llvm.org/show_bug.cgi?id=45831 for the status
21
- in newer releases.
22
-
23
13
menuconfig KCSAN
24
14
bool "KCSAN: dynamic data race detector"
25
15
depends on HAVE_ARCH_KCSAN && HAVE_KCSAN_COMPILER
26
16
depends on DEBUG_KERNEL && !KASAN
27
- depends on !KCSAN_KCOV_BROKEN
28
17
select STACKTRACE
29
18
help
30
19
The Kernel Concurrency Sanitizer (KCSAN) is a dynamic
Original file line number Diff line number Diff line change @@ -27,16 +27,6 @@ config UBSAN_TRAP
27
27
the system. For some system builders this is an acceptable
28
28
trade-off.
29
29
30
- config UBSAN_KCOV_BROKEN
31
- def_bool KCOV && CC_HAS_SANCOV_TRACE_PC
32
- depends on CC_IS_CLANG
33
- depends on !$(cc-option,-Werror=unused-command-line-argument -fsanitize=bounds -fsanitize-coverage=trace-pc)
34
- help
35
- Some versions of clang support either UBSAN or KCOV but not the
36
- combination of the two.
37
- See https://bugs.llvm.org/show_bug.cgi?id=45831 for the status
38
- in newer releases.
39
-
40
30
config CC_HAS_UBSAN_BOUNDS
41
31
def_bool $(cc-option,-fsanitize=bounds)
42
32
@@ -46,7 +36,6 @@ config CC_HAS_UBSAN_ARRAY_BOUNDS
46
36
config UBSAN_BOUNDS
47
37
bool "Perform array index bounds checking"
48
38
default UBSAN
49
- depends on !UBSAN_KCOV_BROKEN
50
39
depends on CC_HAS_UBSAN_ARRAY_BOUNDS || CC_HAS_UBSAN_BOUNDS
51
40
help
52
41
This option enables detection of directly indexed out of bounds
@@ -72,7 +61,6 @@ config UBSAN_ARRAY_BOUNDS
72
61
config UBSAN_LOCAL_BOUNDS
73
62
bool "Perform array local bounds checking"
74
63
depends on UBSAN_TRAP
75
- depends on !UBSAN_KCOV_BROKEN
76
64
depends on $(cc-option,-fsanitize=local-bounds)
77
65
help
78
66
This option enables -fsanitize=local-bounds which traps when an
You can’t perform that action at this time.
0 commit comments