mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
8 lines
201 B
Makefile
8 lines
201 B
Makefile
|
ifdef CONFIG_KCOV
|
||
|
CFLAGS_KCOV := $(call cc-option,-fsanitize-coverage=trace-pc,)
|
||
|
ifeq ($(CONFIG_KCOV_ENABLE_COMPARISONS),y)
|
||
|
CFLAGS_KCOV += $(call cc-option,-fsanitize-coverage=trace-cmp,)
|
||
|
endif
|
||
|
|
||
|
endif
|