Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: ffb217a13a2eaf6d5bd974fc83036a53ca69f1e2 authored by Linus Torvalds on 06 March 2022, 22:28:31 UTC
Linux 5.17-rc7
Tip revision: ffb217a
Makefile.kcov
# 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)
back to top