https://github.com/torvalds/linux
Raw File
Tip revision: 701270fa193aadf00bdcf607738f64997275d4c7 authored by Hugh Dickins on 30 November 2018, 22:10:25 UTC
mm/khugepaged: collapse_shmem() stop if punched or truncated
Tip revision: 701270f
Makefile.kcov
ifdef CONFIG_KCOV

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)

endif
back to top