summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2016-04-16 00:32:16 +0000
committerAnna Zaks <ganna@apple.com>2016-04-16 00:32:16 +0000
commit8f8d3db940bb7515ac56c5a096bdb6e3df435828 (patch)
tree66e7e561333c5b2245154adf0e57b17007a906bf /compiler-rt
parent500886841dadba249d8a95f04b2f72eb1c188606 (diff)
downloadbcm5719-llvm-8f8d3db940bb7515ac56c5a096bdb6e3df435828.tar.gz
bcm5719-llvm-8f8d3db940bb7515ac56c5a096bdb6e3df435828.zip
[sanitizers] Fixup to r266494; the Unit test should not run on Windows
The test is failing on Windows because we do not have a definition for DemangleSwiftAndCXX nor DemangleCXXABI, which I am replacing, on Windows. llvm-svn: 266499
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc b/compiler-rt/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc
index 8ff8bbb6cb3..3d5678ab7fb 100644
--- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc
+++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc
@@ -55,6 +55,7 @@ TEST(Symbolizer, ExtractTokenUpToDelimiter) {
InternalFree(token);
}
+#if !SANITIZER_WINDOWS
TEST(Symbolizer, DemangleSwiftAndCXX) {
// Swift names are not demangled in default llvm build because Swift
// runtime is not linked in.
@@ -64,5 +65,6 @@ TEST(Symbolizer, DemangleSwiftAndCXX) {
EXPECT_STREQ("foo", DemangleSwiftAndCXX("foo"));
EXPECT_STREQ("", DemangleSwiftAndCXX(""));
}
+#endif
} // namespace __sanitizer
OpenPOWER on IntegriCloud