File: Makefile.kcov

package info (click to toggle)
linux 6.1.164-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 1,496,832 kB
  • sloc: ansic: 23,464,189; asm: 266,677; sh: 110,717; makefile: 49,893; python: 36,941; perl: 36,837; cpp: 6,060; yacc: 4,908; lex: 2,725; awk: 1,440; ruby: 25; sed: 5
file content (6 lines) | stat: -rw-r--r-- 333 bytes parent folder | download | duplicates (23)
1
2
3
4
5
6
# 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)