blob: 3289db38bc87b600703843369d84b28a55920a55 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Andrey Ryabinin0b24bec2015-02-13 14:39:17 -08002KASAN_SANITIZE := n
Andrey Ryabininc6d30852016-01-20 15:00:55 -08003UBSAN_SANITIZE_kasan.o := n
Dmitry Vyukov5c9a8752016-03-22 14:27:30 -07004KCOV_INSTRUMENT := n
Andrey Ryabinin0b24bec2015-02-13 14:39:17 -08005
6CFLAGS_REMOVE_kasan.o = -pg
7# Function splitter causes unnecessary splits in __asan_load1/__asan_store1
8# see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533
9CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)
10
Alexander Potapenko80a92012016-07-28 15:49:07 -070011obj-y := kasan.o report.o kasan_init.o quarantine.o