summaryrefslogtreecommitdiff
path: root/test/cfi/vdtor.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/vdtor.cpp
parent5e4d24c80ad19ccece0f5ab8de0212820f5ecd0b (diff)
downloadcompiler-rt-4415b429fe5908c1d5935ae60a1cd89d7ee24230.tar.gz
[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/vdtor.cpp')
-rw-r--r--test/cfi/vdtor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cfi/vdtor.cpp b/test/cfi/vdtor.cpp
index f42a2d9fb..6b1951c40 100644
--- a/test/cfi/vdtor.cpp
+++ b/test/cfi/vdtor.cpp
@@ -19,6 +19,8 @@
// Tests that the CFI enforcement also applies to virtual destructor calls made
// via 'delete'.
+// REQUIRES: cxxabi
+
#include <stdio.h>
#include "utils.h"