Andrey Ryabinin
9773e25b71
UPSTREAM: kasan/Makefile: support LLVM style asan parameters
Upstream commit 1a69e7ce8391a8bc808baf04e06d88ab4024ca47.
LLVM doesn't understand GCC-style paramters ("--param asan-foo=bar"), thus
we currently we don't use inline/globals/stack instrumentation when
building the kernel with clang.
Add support for LLVM-style parameters ("-mllvm -asan-foo=bar") to enable
all KASAN features.
Link: http://lkml.kernel.org/r/20171204191735.132544-3-paullawrence@google.com
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Greg Hackmann <ghackmann@google.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Change-Id: I5aba288a129f89ba1956e3f259cf1333d9fb26c4
Bug: 128674696
2019-07-10 09:14:17 -07:00
..
2017-08-10 01:01:03 +09:00
2019-06-11 12:21:51 +02:00
2017-11-02 11:10:55 +01:00
2019-06-09 09:18:19 +02:00
2019-02-12 19:46:10 +01:00
2017-11-02 11:10:55 +01:00
2019-05-04 09:15:22 +02:00
2017-03-28 16:16:52 +02:00
2019-04-30 12:56:41 +02:00
2018-05-30 07:52:21 +02:00
2019-05-04 09:15:17 +02:00
2017-11-02 11:10:55 +01:00
2017-06-23 14:17:38 -06:00
2018-05-30 07:52:17 +02:00
2016-04-06 14:06:48 +01:00
2016-12-12 18:55:06 -08:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-03 11:49:06 +01:00
2019-03-28 21:16:18 -07:00
2019-06-25 11:36:53 +08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-11-27 18:06:36 -08:00
2018-04-25 16:04:04 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-14 09:53:06 +01:00
2017-11-02 11:10:55 +01:00
2016-10-11 15:06:30 -07:00
2019-07-10 09:54:36 +02:00
2017-11-02 11:10:55 +01:00
2018-09-15 09:45:36 +02:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-07 11:12:17 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-07-07 15:09:09 -07:00
2017-05-14 11:20:44 +09:00
2017-08-08 11:09:31 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-25 14:26:33 +01:00
2017-11-02 11:10:55 +01:00
2019-01-13 10:01:06 +01:00
2019-05-02 09:56:08 +02:00
2018-02-25 11:07:58 +01:00
2017-11-02 11:10:55 +01:00
2017-11-06 11:46:42 -08:00
2017-11-02 11:10:55 +01:00
2018-04-26 16:03:36 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-13 10:30:02 +01:00
2017-12-18 21:11:22 +05:30
2017-11-02 11:10:55 +01:00
2018-12-08 13:03:34 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-07-10 09:14:17 -07:00
2018-03-15 14:32:23 +01:00
2017-11-02 11:10:55 +01:00
2017-12-18 21:11:22 +05:30
2018-04-26 16:03:36 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2017-05-14 11:20:44 +09:00
2017-03-11 11:13:38 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-26 16:03:36 -07:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-02-10 12:43:47 +11:00
2016-11-14 11:11:51 +11:00
2017-10-03 17:54:23 -07:00
2017-09-08 10:02:55 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-06-06 08:42:34 +09:00
2018-12-08 13:03:35 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00