From 7b17c9d05c0f8fd6be6bef48b3bf7ae4bd5f8d33 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Fri, 20 Apr 2018 19:07:35 +0000 Subject: [PATCH] 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 llvm-svn: 330469 --- compiler-rt/test/asan/TestCases/printf-4.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler-rt/test/asan/TestCases/printf-4.c b/compiler-rt/test/asan/TestCases/printf-4.c index 5a883fe..70f4073 100644 --- a/compiler-rt/test/asan/TestCases/printf-4.c +++ b/compiler-rt/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 int main() { -- 2.7.4