Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 5dc4c995db9eb45f6373a956eb1f69460e69e6d4 authored by Linus Torvalds on 15 January 2023, 15:22:43 UTC
Linux 6.2-rc4
Tip revision: 5dc4c99
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