Revision add42781ad76c5ae65127bf13852a4c6b2f08849 authored by Ben Skeggs on 13 January 2021, 07:12:52 UTC, committed by Ben Skeggs on 15 January 2021, 00:25:17 UTC
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
1 parent ba6e9ab
Raw File
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