summaryrefslogtreecommitdiff
path: root/scripts/Makefile.kcov
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-04-07 17:10:52 +0200
committerArnd Bergmann <arnd@arndb.de>2025-04-30 21:57:09 +0200
commit852faf805539484968aa8cc93866008b7a6d0d52 (patch)
treec6b992d2f63220326fde6217da46b01ba6a1b63f /scripts/Makefile.kcov
parent8530ea3c9b9747faba46ed3a59ad103b894f1189 (diff)
downloadlinux-852faf805539484968aa8cc93866008b7a6d0d52.tar.gz
linux-852faf805539484968aa8cc93866008b7a6d0d52.tar.bz2
linux-852faf805539484968aa8cc93866008b7a6d0d52.zip
gcc-plugins: remove SANCOV gcc plugin
With the minimum gcc version raised to 8.1, all supported compilers now understand the -fsanitize-coverage=trace-pc option, and there is no longer a need for the separate compiler plugin. Since only gcc-5 was able to use the plugin for several year now, it was already likely unused. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/Makefile.kcov')
-rw-r--r--scripts/Makefile.kcov1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.kcov b/scripts/Makefile.kcov
index 67e8cfe3474b..67de7942b3e7 100644
--- a/scripts/Makefile.kcov
+++ b/scripts/Makefile.kcov
@@ -1,6 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
-kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so
export CFLAGS_KCOV := $(kcov-flags-y)