diff options
author | Will Dietz <wdietz2@illinois.edu> | 2012-12-30 20:53:28 +0000 |
---|---|---|
committer | Will Dietz <wdietz2@illinois.edu> | 2012-12-30 20:53:28 +0000 |
commit | 2d382d149b442b928fd3fb8edcc8d82ea9325872 (patch) | |
tree | 9f1b734c8d1dbb26038a20eae3fdca459520d1f7 /test/CodeGen/sanitize-recover.c | |
parent | de210a51dc26de6bee00a9ab172111c6f245a9fe (diff) |
[ubsan] Recover by default, use -fno-sanitize-recover to disable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/sanitize-recover.c')
-rw-r--r-- | test/CodeGen/sanitize-recover.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/sanitize-recover.c b/test/CodeGen/sanitize-recover.c index 49809286e2..3c9c895538 100644 --- a/test/CodeGen/sanitize-recover.c +++ b/test/CodeGen/sanitize-recover.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsanitize=unsigned-integer-overflow -fsanitize-recover %s -emit-llvm -o - | FileCheck %s --check-prefix=RECOVER -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsanitize=unsigned-integer-overflow %s -emit-llvm -o - | FileCheck %s --check-prefix=ABORT +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsanitize=unsigned-integer-overflow %s -emit-llvm -o - | FileCheck %s --check-prefix=RECOVER +// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsanitize=unsigned-integer-overflow -fno-sanitize-recover %s -emit-llvm -o - | FileCheck %s --check-prefix=ABORT // RECOVER: @test |