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 | a084e16e4b9100b6649f07ed023b567df5731722 (patch) | |
tree | de06a51ef4d999d3e6c2b614ef7a6aa0b79eff63 /compiler-rt/test/cfi/simple-fail.cpp | |
parent | 2a3443c7c5eb314aba8bce2f38d8846ecb815f85 (diff) | |
download | bcm5719-llvm-a084e16e4b9100b6649f07ed023b567df5731722.tar.gz bcm5719-llvm-a084e16e4b9100b6649f07ed023b567df5731722.zip |
[CFI] Run tests that use cfi diagnostic mode only if cxxabi parts of UBSan are available.
llvm-svn: 240671
Diffstat (limited to 'compiler-rt/test/cfi/simple-fail.cpp')
-rw-r--r-- | compiler-rt/test/cfi/simple-fail.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/cfi/simple-fail.cpp b/compiler-rt/test/cfi/simple-fail.cpp index 2be560b98b1..9c25fc0a24c 100644 --- a/compiler-rt/test/cfi/simple-fail.cpp +++ b/compiler-rt/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" |