summaryrefslogtreecommitdiff
path: root/test/ubsan/TestCases
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-12-23 00:30:32 +0000
committerNico Weber <nicolasweber@gmx.de>2015-12-23 00:30:32 +0000
commitfcf9dce6fa68aa4b05f66e0eb780524323937930 (patch)
tree084c649040ed9c0125c7cd5df8638b7587dd6980 /test/ubsan/TestCases
parentea15da9a96b8e31612a631221b4342a3eed63d9a (diff)
XFAIL ubsan suppressions.cpp test on Windows for now.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@256307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan/TestCases')
-rw-r--r--test/ubsan/TestCases/Integer/suppressions.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ubsan/TestCases/Integer/suppressions.cpp b/test/ubsan/TestCases/Integer/suppressions.cpp
index ce3a5469c..e2f632d07 100644
--- a/test/ubsan/TestCases/Integer/suppressions.cpp
+++ b/test/ubsan/TestCases/Integer/suppressions.cpp
@@ -1,3 +1,11 @@
+// XFAIL: win32
+// On Windows, %t starts with c:\. lit's ShLexer helpfully strips the
+// quotes in the suppressions="%t..." lines below, so the UBSAN_OPTIONS
+// env var that ubsan effectively sees is halt_on_error=1:suppressions=c:\...
+// without any quotes. Since : is ubsan's UBSAN_OPTIONS separator, this
+// confuses sanitizer_flag_parser.
+// FIXME: Figure out how to make this test go on Windows.
+
// RUN: %clangxx -fsanitize=integer -g0 %s -o %t
// Fails without any suppression.