1# SPDX-License-Identifier: GPL-2.0 2KASAN_SANITIZE := n 3UBSAN_SANITIZE_common.o := n 4UBSAN_SANITIZE_generic.o := n 5UBSAN_SANITIZE_tags.o := n 6KCOV_INSTRUMENT := n 7 8CFLAGS_REMOVE_common.o = -pg 9CFLAGS_REMOVE_generic.o = -pg 10CFLAGS_REMOVE_tags.o = -pg 11 12# Function splitter causes unnecessary splits in __asan_load1/__asan_store1 13# see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533 14 15CFLAGS_common.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) 16CFLAGS_generic.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) 17CFLAGS_tags.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) 18 19obj-$(CONFIG_KASAN) := common.o init.o report.o 20obj-$(CONFIG_KASAN_GENERIC) += generic.o generic_report.o quarantine.o 21obj-$(CONFIG_KASAN_SW_TAGS) += tags.o tags_report.o 22