summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/catch-undef-behavior.c
diff options
context:
space:
mode:
authorWill Dietz <wdietz2@illinois.edu>2012-11-27 15:01:55 +0000
committerWill Dietz <wdietz2@illinois.edu>2012-11-27 15:01:55 +0000
commit1897cb3b9cb8f3c414fe9ccf1bf8cddf387953cb (patch)
tree6adc0311f58f1dbd2ed9ea60cda8d227653a1694 /clang/test/CodeGen/catch-undef-behavior.c
parent2631aaf93934af22a360595c5bca4ef0f9407403 (diff)
downloadbcm5719-llvm-1897cb3b9cb8f3c414fe9ccf1bf8cddf387953cb.tar.gz
bcm5719-llvm-1897cb3b9cb8f3c414fe9ccf1bf8cddf387953cb.zip
Add -fsanitize=integer for reporting suspicious integer behaviors.
Introduces new sanitizer "unsigned-integer-overflow". llvm-svn: 168701
Diffstat (limited to 'clang/test/CodeGen/catch-undef-behavior.c')
-rw-r--r--clang/test/CodeGen/catch-undef-behavior.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/catch-undef-behavior.c b/clang/test/CodeGen/catch-undef-behavior.c
index 4198b62ea56..7d50cea39a5 100644
--- a/clang/test/CodeGen/catch-undef-behavior.c
+++ b/clang/test/CodeGen/catch-undef-behavior.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsanitize=alignment,null,object-size,shift,return,signed-integer-overflow,vla-bound,float-cast-overflow,divide-by-zero -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s
+// RUN: %clang_cc1 -fsanitize=alignment,null,object-size,shift,return,signed-integer-overflow,vla-bound,float-cast-overflow,integer-divide-by-zero -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s
// RUN: %clang_cc1 -fsanitize=null -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s --check-prefix=CHECK-NULL
// RUN: %clang_cc1 -fsanitize=signed-integer-overflow -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s --check-prefix=CHECK-OVERFLOW
OpenPOWER on IntegriCloud