[compiler-rt] r256307 - XFAIL ubsan suppressions.cpp test on Windows for now.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 16:30:32 PST 2015


Author: nico
Date: Tue Dec 22 18:30:32 2015
New Revision: 256307

URL: http://llvm.org/viewvc/llvm-project?rev=256307&view=rev
Log:
XFAIL ubsan suppressions.cpp test on Windows for now.

Modified:
    compiler-rt/trunk/test/ubsan/TestCases/Integer/suppressions.cpp

Modified: compiler-rt/trunk/test/ubsan/TestCases/Integer/suppressions.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/Integer/suppressions.cpp?rev=256307&r1=256306&r2=256307&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Integer/suppressions.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Integer/suppressions.cpp Tue Dec 22 18:30:32 2015
@@ -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.




More information about the llvm-commits mailing list