Andrey Ryabinin | 0b24bec | 2015-02-13 14:39:17 -0800 | [diff] [blame] | 1 | KASAN_SANITIZE := n |
Andrey Ryabinin | c6d3085 | 2016-01-20 15:00:55 -0800 | [diff] [blame] | 2 | UBSAN_SANITIZE_kasan.o := n |
Dmitry Vyukov | 5c9a875 | 2016-03-22 14:27:30 -0700 | [diff] [blame] | 3 | KCOV_INSTRUMENT := n |
Andrey Ryabinin | 0b24bec | 2015-02-13 14:39:17 -0800 | [diff] [blame] | 4 | |
| 5 | CFLAGS_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 |
| 8 | CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) |
| 9 | |
Andrey Ryabinin | 69786cdb | 2015-08-13 08:37:24 +0300 | [diff] [blame] | 10 | obj-y := kasan.o report.o kasan_init.o |
Alexander Potapenko | 55834c5 | 2016-05-20 16:59:11 -0700 | [diff] [blame] | 11 | obj-$(CONFIG_SLAB) += quarantine.o |