[PATCH] D45894: asan: Mark printf-4.c as unsupported on Windows.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 20 12:10:59 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT330469: asan: Mark printf-4.c as unsupported on Windows. (authored by pcc, committed by ).
Herald added a subscriber: Sanitizers.

Changed prior to commit:
  https://reviews.llvm.org/D45894?vs=143353&id=143360#toc

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D45894

Files:
  test/asan/TestCases/printf-4.c


Index: test/asan/TestCases/printf-4.c
===================================================================
--- test/asan/TestCases/printf-4.c
+++ test/asan/TestCases/printf-4.c
@@ -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() {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45894.143360.patch
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180420/af8fa35d/attachment.bin>


More information about the llvm-commits mailing list