summaryrefslogtreecommitdiff
path: root/test/ubsan
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-02-29 20:38:35 +0000
committerReid Kleckner <rnk@google.com>2016-02-29 20:38:35 +0000
commit74d2871368c25923bf511b151d2e1eb86a57934f (patch)
tree37ce20b8438e1a9ba14d97526b4e0d44f3025492 /test/ubsan
parent643bbc5ae586cfe2afa7cba0a1c321788ca763ea (diff)
Avoid use of -fsanitize=vptr in MSVC env, it is not yet supported
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@262251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan')
-rw-r--r--test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp b/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp
index 79acfe2ec..c4ab9361b 100644
--- a/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp
+++ b/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp
@@ -1,6 +1,8 @@
// RUN: %clangxx -frtti -fsanitize=vptr -fno-sanitize-recover=vptr -I%p/Helpers %p/Helpers/vptr-non-unique-typeinfo-lib.cpp -fPIC -shared -o %t-lib.so
// RUN: %clangxx -frtti -fsanitize=vptr -fno-sanitize-recover=vptr -I%p/Helpers -g %s -O3 -o %t %t-lib.so
// RUN: %run %t
+//
+// REQUIRES: cxxabi
#include "vptr-non-unique-typeinfo-lib.h"