Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 6a8f57ae2eb07ab39a6f0ccad60c760743051026 authored by Linus Torvalds on 16 April 2023, 22:23:53 UTC
Linux 6.3-rc7
Tip revision: 6a8f57a
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