diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2018-04-20 19:07:35 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-04-20 19:07:35 +0000 |
| commit | 7b17c9d05c0f8fd6be6bef48b3bf7ae4bd5f8d33 (patch) | |
| tree | c6173f31a92c6a2d352eab5a85d7f4b8f37a2fa1 | |
| parent | 642120122c18ef6479e0047759c9cbe370483216 (diff) | |
| download | bcm5719-llvm-7b17c9d05c0f8fd6be6bef48b3bf7ae4bd5f8d33.tar.gz bcm5719-llvm-7b17c9d05c0f8fd6be6bef48b3bf7ae4bd5f8d33.zip | |
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
| -rw-r--r-- | compiler-rt/test/asan/TestCases/printf-4.c | 5 |
1 files 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 5a883fe99ef..70f4073cc49 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 <stdio.h> int main() { |

