[compiler-rt] ca479da - Mark ASan global-location-nodebug test as unspported on win.
Mitch Phillips via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 27 16:04:23 PDT 2022
Author: Mitch Phillips
Date: 2022-06-27T16:03:32-07:00
New Revision: ca479dac514d8c09d2b60caf36478559258ac420
URL: https://github.com/llvm/llvm-project/commit/ca479dac514d8c09d2b60caf36478559258ac420
DIFF: https://github.com/llvm/llvm-project/commit/ca479dac514d8c09d2b60caf36478559258ac420.diff
LOG: Mark ASan global-location-nodebug test as unspported on win.
Windows linkers don't have the easy reachable `-Wl,-S` option to strip
the binary. Disable the test for now.
Added:
Modified:
compiler-rt/test/asan/TestCases/global-location-nodebug.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/global-location-nodebug.cpp b/compiler-rt/test/asan/TestCases/global-location-nodebug.cpp
index 6d8aa5732933..0c8f05feaa12 100644
--- a/compiler-rt/test/asan/TestCases/global-location-nodebug.cpp
+++ b/compiler-rt/test/asan/TestCases/global-location-nodebug.cpp
@@ -11,6 +11,9 @@
/// Solaris ld -S has
diff erent semantics.
// XFAIL: solaris
+/// MSVC linker doesn't support `-S`.
+// UNSUPPORTED: windows
+
// CHECK: AddressSanitizer: global-buffer-overflow
// CLASS_STATIC-NO-G: 0x{{.*}} is located 4 bytes to the right of global variable '{{.*}}C::array{{.*}}' defined in '{{.*}}global-location.cpp' {{.*}} of size 40
// GLOB-NO-G: 0x{{.*}} is located 4 bytes to the right of global variable '{{.*}}global{{.*}}' defined in '{{.*}}global-location.cpp' {{.*}} of size 40
More information about the llvm-commits
mailing list