summaryrefslogtreecommitdiff
path: root/test/cfi/simple-fail.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-06-25 18:45:30 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-06-25 18:45:30 +0000
commit4415b429fe5908c1d5935ae60a1cd89d7ee24230 (patch)
tree8f3a9891ecb63d4010cb2311d2b490052101f3d0 /test/cfi/simple-fail.cpp
parent5e4d24c80ad19ccece0f5ab8de0212820f5ecd0b (diff)
[CFI] Run tests that use cfi diagnostic mode only if cxxabi parts of UBSan are available.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@240671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/cfi/simple-fail.cpp')
-rw-r--r--test/cfi/simple-fail.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cfi/simple-fail.cpp b/test/cfi/simple-fail.cpp
index 2be560b98..9c25fc0a2 100644
--- a/test/cfi/simple-fail.cpp
+++ b/test/cfi/simple-fail.cpp
@@ -56,6 +56,8 @@
// to an object of the wrong class but with a compatible vtable, by casting a
// pointer to such an object and attempting to make a call through it.
+// REQUIRES: cxxabi
+
#include <stdio.h>
#include "utils.h"