aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2021-08-04 16:30:59 +0000
committerPalmer Dabbelt <[email protected]>2021-08-25 03:59:10 +0000
commit8341dcfbd8dda98a3b2836a421016f7d88e35b1c (patch)
treed97cb10a817f411d3da33f0d54b80a253ef04602 /scripts/clang-tools/gen_compile_commands.py
parentriscv: Keep the riscv Kconfig selects sorted (diff)
downloadkernel-8341dcfbd8dda98a3b2836a421016f7d88e35b1c.tar.gz
kernel-8341dcfbd8dda98a3b2836a421016f7d88e35b1c.zip
riscv: Enable Undefined Behavior Sanitizer UBSAN
Select ARCH_HAS_UBSAN_SANITIZE_ALL in order to allow the user to enable CONFIG_UBSAN_SANITIZE_ALL and instrument the entire kernel for ubsan checks. VDSO is excluded because its build doesn't include the __ubsan_handle_*() functions from lib/ubsan.c, and the VDSO has no sane way to report errors even if it has definitions of these functions. Passed lib/test_ubsan.c test. Signed-off-by: Jisheng Zhang <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions