blob: 1548749a3d452735c78028f4fb30ec3ac6bb10e8 [file] [log] [blame]
Andrey Ryabinin0b24bec2015-02-13 14:39:17 -08001KASAN_SANITIZE := n
Andrey Ryabininc6d30852016-01-20 15:00:55 -08002UBSAN_SANITIZE_kasan.o := n
Dmitry Vyukov5c9a8752016-03-22 14:27:30 -07003KCOV_INSTRUMENT := n
Andrey Ryabinin0b24bec2015-02-13 14:39:17 -08004
5CFLAGS_REMOVE_kasan.o = -pg
6# Function splitter causes unnecessary splits in __asan_load1/__asan_store1
7# see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533
8CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)
9
Andrey Ryabinin69786cdb2015-08-13 08:37:24 +030010obj-y := kasan.o report.o kasan_init.o
Alexander Potapenko55834c52016-05-20 16:59:11 -070011obj-$(CONFIG_SLAB) += quarantine.o