diff --git a/arch/Kconfig b/arch/Kconfig index e2465e92ca21..d53afd0c8323 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -605,6 +605,7 @@ endchoice config CFI_CLANG bool "Use Clang's Control Flow Integrity (CFI)" depends on LTO_CLANG && KALLSYMS + depends on !GCOV_KERNEL help This option enables Clang's Control Flow Integrity (CFI), which adds runtime checking for indirect function calls.