summaryrefslogtreecommitdiff
path: root/test/asan
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-04-20 19:07:35 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-04-20 19:07:35 +0000
commit7b8950bd547b751020b7124b84af7cbf437939d6 (patch)
tree3c9e68ef88c657fb611604cd0e570d9b6a4b1454 /test/asan
parente52786294c94f790fd79e9c26a467fce3038277f (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@330469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan')
-rw-r--r--test/asan/TestCases/printf-4.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/asan/TestCases/printf-4.c b/test/asan/TestCases/printf-4.c
index 5a883fe99..70f4073cc 100644
--- a/test/asan/TestCases/printf-4.c
+++ b/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() {