From 25a0c67e9d515f96bb8d3c3112715b03ac3944eb Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 24 Mar 2022 00:15:46 +0100 Subject: [PATCH] Kconfig: Have CONFIG_ASAN depend on COMPILER_GCC -fsanitize=kernel-address is not implemented in clang Change-Id: Ib8660bf99b940ff9eac7461f5946df0891dd3a4f Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/63064 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/Kconfig | 1 + 1 file changed, 1 insertion(+) 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.