diff options
author | Anna Zaks <ganna@apple.com> | 2016-04-16 00:32:16 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2016-04-16 00:32:16 +0000 |
commit | 1e9990cc116021d2a606ad84b23502d2d4a15b52 (patch) | |
tree | 3539812d543c2c9485f02fe03c14f14300dfaf57 | |
parent | 2d112a570a0cd11ca61cda9663c8fffeb2bc0d28 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@266499 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc b/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc index 8ff8bbb6c..3d5678ab7 100644 --- a/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc +++ b/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 |