Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Andrey Ryabinin | 0b24bec | 2015-02-13 14:39:17 -0800 | [diff] [blame] | 2 | KASAN_SANITIZE := n |
Andrey Ryabinin | c6d3085 | 2016-01-20 15:00:55 -0800 | [diff] [blame] | 3 | UBSAN_SANITIZE_kasan.o := n |
Dmitry Vyukov | 5c9a875 | 2016-03-22 14:27:30 -0700 | [diff] [blame] | 4 | KCOV_INSTRUMENT := n |
Andrey Ryabinin | 0b24bec | 2015-02-13 14:39:17 -0800 | [diff] [blame] | 5 | |
| 6 | CFLAGS_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 |
| 9 | CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) |
| 10 | |
Alexander Potapenko | 80a9201 | 2016-07-28 15:49:07 -0700 | [diff] [blame] | 11 | obj-y := kasan.o report.o kasan_init.o quarantine.o |