diff options
| author | Julian Lettner <jlettner@apple.com> | 2019-02-04 23:37:50 +0000 |
|---|---|---|
| committer | Julian Lettner <jlettner@apple.com> | 2019-02-04 23:37:50 +0000 |
| commit | 98b9f5b4b3863f8b4f206556ca167b808f46e420 (patch) | |
| tree | 0eff3ca49d5d361c8892e3ea746fa77fcb6dec62 /clang/test | |
| parent | ae28be3a8aa349e0d37063a29cb8cc8986fa595a (diff) | |
| download | bcm5719-llvm-98b9f5b4b3863f8b4f206556ca167b808f46e420.tar.gz bcm5719-llvm-98b9f5b4b3863f8b4f206556ca167b808f46e420.zip | |
[Sanitizers] UBSan unreachable incompatible with Kernel ASan
Summary:
This is a follow up for https://reviews.llvm.org/D57278. The previous
revision should have also included Kernel ASan.
rdar://problem/40723397
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D57711
llvm-svn: 353120
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CodeGen/ubsan-asan-noreturn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGen/ubsan-asan-noreturn.c b/clang/test/CodeGen/ubsan-asan-noreturn.c index 6dc0546d484..516c58469d5 100644 --- a/clang/test/CodeGen/ubsan-asan-noreturn.c +++ b/clang/test/CodeGen/ubsan-asan-noreturn.c @@ -1,6 +1,7 @@ // Ensure compatiblity of UBSan unreachable with ASan in the presence of // noreturn functions. -// RUN: %clang_cc1 -fsanitize=unreachable,address -triple x86_64-linux -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -fsanitize=unreachable,address -triple x86_64-linux -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -fsanitize=unreachable,kernel-address -triple x86_64-linux -emit-llvm -o - %s | FileCheck %s void my_longjmp(void) __attribute__((noreturn)); |

