forked from OSchip/llvm-project
[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
This commit is contained in:
parent
500886841d
commit
8f8d3db940
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue