summaryrefslogtreecommitdiff
path: root/mm/kasan/Makefile
blob: 1548749a3d452735c78028f4fb30ec3ac6bb10e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
KASAN_SANITIZE := n
UBSAN_SANITIZE_kasan.o := n
KCOV_INSTRUMENT := n

CFLAGS_REMOVE_kasan.o = -pg
# Function splitter causes unnecessary splits in __asan_load1/__asan_store1
# see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533
CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)

obj-y := kasan.o report.o kasan_init.o
obj-$(CONFIG_SLAB) += quarantine.o