summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-03-24 00:15:46 +0100
committerArthur Heymans <arthur@aheymans.xyz>2022-05-13 10:59:37 +0000
commit25a0c67e9d515f96bb8d3c3112715b03ac3944eb (patch)
treeec9a094877a53678fcf13085cd84a6bdf2a48a87 /src/Kconfig
parent98435ed07ad4ffb1c719de5e02c90f91b9414bd3 (diff)
Kconfig: Have CONFIG_ASAN depend on COMPILER_GCC
-fsanitize=kernel-address is not implemented in clang Change-Id: Ib8660bf99b940ff9eac7461f5946df0891dd3a4f Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63064 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index bf48360f5e..ccfe5d25be 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -312,6 +312,7 @@ config ASAN
default n
select ASAN_IN_ROMSTAGE if HAVE_ASAN_IN_ROMSTAGE
select ASAN_IN_RAMSTAGE if HAVE_ASAN_IN_RAMSTAGE
+ depends on COMPILER_GCC
help
Enable address sanitizer - runtime memory debugger,
designed to find out-of-bounds accesses and use-after-scope bugs.