[compiler-rt] 94d51fd - [asan][test][MSVC] Disabling test on MSVC x86 because of optimized builds (#125871)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 5 13:53:57 PST 2025
Author: Zack Johnson
Date: 2025-02-05T16:53:54-05:00
New Revision: 94d51fdadb9122fa85d80f7a8631bb757d0b8685
URL: https://github.com/llvm/llvm-project/commit/94d51fdadb9122fa85d80f7a8631bb757d0b8685
DIFF: https://github.com/llvm/llvm-project/commit/94d51fdadb9122fa85d80f7a8631bb757d0b8685.diff
LOG: [asan][test][MSVC] Disabling test on MSVC x86 because of optimized builds (#125871)
Including #124987, we have failures on Windows on x86 with `/O2` builds,
similar to Darwin. This disables the test for MSVC-x86.
Added:
Modified:
compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp
compiler-rt/test/asan/TestCases/suppressions-function.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp b/compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp
index 6ab796b1c76a69..7f592c83216fd8 100644
--- a/compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp
+++ b/compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp
@@ -10,8 +10,9 @@
// XFAIL: android
// FIXME: atos does not work for inlined functions, yet llvm-symbolizer
-// does not always work with debug info on Darwin.
+// does not always work with debug info on Darwin. Behavior is similar on MSVC x86 outside of /Od.
// UNSUPPORTED: darwin
+// UNSUPPORTED: target={{.*windows-msvc.*}} && asan-32-bits
#include <stdio.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/asan/TestCases/suppressions-function.cpp b/compiler-rt/test/asan/TestCases/suppressions-function.cpp
index 22d3dae1f0ef02..c8ed3fd4866dae 100644
--- a/compiler-rt/test/asan/TestCases/suppressions-function.cpp
+++ b/compiler-rt/test/asan/TestCases/suppressions-function.cpp
@@ -11,8 +11,9 @@
// UNSUPPORTED: ios
// FIXME: atos does not work for inlined functions, yet llvm-symbolizer
-// does not always work with debug info on Darwin.
+// does not always work with debug info on Darwin. Behavior is similar on MSVC x86 outside of /Od.
// UNSUPPORTED: darwin
+// UNSUPPORTED: target={{.*windows-msvc.*}} && asan-32-bits
#include <stdio.h>
#include <stdlib.h>
More information about the llvm-commits
mailing list