diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-25 18:45:30 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-25 18:45:30 +0000 |
commit | 4415b429fe5908c1d5935ae60a1cd89d7ee24230 (patch) | |
tree | 8f3a9891ecb63d4010cb2311d2b490052101f3d0 /test/cfi/simple-fail.cpp | |
parent | 5e4d24c80ad19ccece0f5ab8de0212820f5ecd0b (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.cpp | 2 |
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" |