diff options
author | Paul Lawrence | 2018-02-07 00:36:03 +0100 |
---|---|---|
committer | Linus Torvalds | 2018-02-07 03:32:42 +0100 |
commit | 53a98ed73b848432a51631346b02049bb7fa039d (patch) | |
tree | f923b316690f5fd0064f5e6a968acf82c33b1420 /drivers/visorbus | |
parent | kasan: don't emit builtin calls when sanitization is off (diff) | |
download | kernel-qcow2-linux-53a98ed73b848432a51631346b02049bb7fa039d.tar.gz kernel-qcow2-linux-53a98ed73b848432a51631346b02049bb7fa039d.tar.xz kernel-qcow2-linux-53a98ed73b848432a51631346b02049bb7fa039d.zip |
kasan: add compiler support for clang
Patch series "kasan: support alloca, LLVM", v4.
This patch (of 5):
For now we can hard-code ASAN ABI level 5, since historical clang builds
can't build the kernel anyway. We also need to emulate gcc's
__SANITIZE_ADDRESS__ flag, or memset() calls won't be instrumented.
Link: http://lkml.kernel.org/r/20171204191735.132544-2-paullawrence@google.com
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@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 'drivers/visorbus')
0 files changed, 0 insertions, 0 deletions