[compiler-rt] r330469 - asan: Mark printf-4.c as unsupported on Windows.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 20 12:07:35 PDT 2018


Author: pcc
Date: Fri Apr 20 12:07:35 2018
New Revision: 330469

URL: http://llvm.org/viewvc/llvm-project?rev=330469&view=rev
Log:
asan: Mark printf-4.c as unsupported on Windows.

Although sprintf is not intercepted on Windows, this test can pass
if sprintf calls memmove, which is intercepted, so we can't XFAIL it.

Differential Revision: https://reviews.llvm.org/D45894

Modified:
    compiler-rt/trunk/test/asan/TestCases/printf-4.c

Modified: compiler-rt/trunk/test/asan/TestCases/printf-4.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/printf-4.c?rev=330469&r1=330468&r2=330469&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/printf-4.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/printf-4.c Fri Apr 20 12:07:35 2018
@@ -2,8 +2,9 @@
 // RUN: %env_asan_opts=check_printf=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s
 // RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s
 
-// FIXME: sprintf is not intercepted on Windows yet.
-// XFAIL: win32
+// FIXME: sprintf is not intercepted on Windows yet. But this test can
+// pass if sprintf calls memmove, which is intercepted, so we can't XFAIL it.
+// UNSUPPORTED: win32
 
 #include <stdio.h>
 int main() {




More information about the llvm-commits mailing list