summaryrefslogtreecommitdiff
path: root/test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-07-25 19:34:27 +0000
committerVedant Kumar <vsk@apple.com>2017-07-25 19:34:27 +0000
commit2295a0eb5848c8fbdef829a1fb3fd4895aa5010f (patch)
treeb82a178a8b74090521ecb5de1d83fd28c50db80d /test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp
parent5764cd92b929fefc1fef703c32e59516a0468d0b (diff)
[ubsan] -fsanitize=vptr now requires -fsanitize=null, update tests
See: https://bugs.llvm.org/show_bug.cgi?id=33881 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@309008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp')
-rw-r--r--test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp b/test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp
index 37ffe5b70..898577d8e 100644
--- a/test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp
+++ b/test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp
@@ -1,4 +1,4 @@
-// RUN: %clangxx -frtti -fsanitize=vptr -fno-sanitize-recover=vptr -g %s -O3 -o %t
+// RUN: %clangxx -frtti -fsanitize=vptr,null -fno-sanitize-recover=vptr,null -g %s -O3 -o %t
// RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-CORRUPTED-VTABLE --strict-whitespace
// UNSUPPORTED: win32