diff options
author | Vitaly Buka <vitalybuka@google.com> | 2018-04-09 20:10:29 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2018-04-09 20:10:29 +0000 |
commit | 69a2e18b4aeafad0e30091fb5f9c191e6d1c2df4 (patch) | |
tree | c89cba0768e95c6619ae743d8b79bcb5aa7fc85f /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 5cff2409aef90dd85331735e65b87f3118766c7c (diff) | |
download | bcm5719-llvm-69a2e18b4aeafad0e30091fb5f9c191e6d1c2df4.tar.gz bcm5719-llvm-69a2e18b4aeafad0e30091fb5f9c191e6d1c2df4.zip |
asan: kernel: make no_sanitize("address") attribute work with -fsanitize=kernel-address
Summary:
Right now to disable -fsanitize=kernel-address instrumentation, one needs to use no_sanitize("kernel-address"). Make either no_sanitize("address") or no_sanitize("kernel-address") disable both ASan and KASan instrumentation. Also remove redundant test.
Patch by Andrey Konovalov
Reviewers: eugenis, kcc, glider, dvyukov, vitalybuka
Reviewed By: eugenis, vitalybuka
Differential Revision: https://reviews.llvm.org/D44981
llvm-svn: 329612
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions