diff options
author | Andrey Ryabinin <aryabinin@virtuozzo.com> | 2018-02-06 15:36:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-06 18:32:42 -0800 |
commit | 1a69e7ce8391a8bc808baf04e06d88ab4024ca47 (patch) | |
tree | 86fd1255cf8e1289609c00ba9cc1da4294a1990f /scripts/stackdelta | |
parent | 53a98ed73b848432a51631346b02049bb7fa039d (diff) | |
download | linux-stable-1a69e7ce8391a8bc808baf04e06d88ab4024ca47.tar.gz linux-stable-1a69e7ce8391a8bc808baf04e06d88ab4024ca47.tar.bz2 linux-stable-1a69e7ce8391a8bc808baf04e06d88ab4024ca47.zip |
kasan/Makefile: support LLVM style asan parameters
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>
Diffstat (limited to 'scripts/stackdelta')
0 files changed, 0 insertions, 0 deletions