diff --git a/compiler-rt/test/asan/TestCases/interception_failure_test.cpp b/compiler-rt/test/asan/TestCases/interception_failure_test.cpp --- a/compiler-rt/test/asan/TestCases/interception_failure_test.cpp +++ b/compiler-rt/test/asan/TestCases/interception_failure_test.cpp @@ -7,9 +7,12 @@ // RUN: %clangxx_asan -O3 %s -o %t && %run %t 2>&1 | FileCheck %s // XFAIL: target={{.*freebsd.*}} -// On Windows, defining strtoll in a static build results in linker errors, but -// it works with the dynamic runtime. -// XFAIL: win32-static-asan +// On Windows, the static runtime build _will_ intercept static copies of libc +// functions, making this test invalid. +// In addition, defining strtol in a static build used to result in linker +// errors with libucrt.lib, but this stopped happening somewhere between WinSDK +// 10.0.19041.0 and 10.0.22621.0 due to some changes in its implementation. +// UNSUPPORTED: win32-static-asan // On NetBSD, defining strtol in a static build results in linker errors, but // it works with the dynamic runtime.