[compiler-rt] [compiler-rt] [test] Add an XFAIL for the initialization-nobug.cpp test on mingw (PR #101814)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 3 04:19:25 PDT 2024
https://github.com/mstorsjo created https://github.com/llvm/llvm-project/pull/101814
This test fails on MinGW targets since
982cfae465cabac3478f597a63feda64cf5e267c.
>From 3893a6c355c2f1ef18e40fc4c9ada4da72be4abb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin at martin.st>
Date: Sat, 3 Aug 2024 14:12:54 +0300
Subject: [PATCH] [compiler-rt] [test] Add an XFAIL for the
initialization-nobug.cpp test on mingw
This test fails on MinGW targets since
982cfae465cabac3478f597a63feda64cf5e267c.
---
compiler-rt/test/asan/TestCases/initialization-nobug.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/compiler-rt/test/asan/TestCases/initialization-nobug.cpp b/compiler-rt/test/asan/TestCases/initialization-nobug.cpp
index 5659db088096b..c8eda571782da 100644
--- a/compiler-rt/test/asan/TestCases/initialization-nobug.cpp
+++ b/compiler-rt/test/asan/TestCases/initialization-nobug.cpp
@@ -1,6 +1,10 @@
// A collection of various initializers which shouldn't trip up initialization
// order checking. If successful, this will just return 0.
+// FIXME: On MinGW targets, the two DynInitPoison printouts are printed in
+// the wrong order.
+// XFAIL: target={{.*-windows-gnu}}
+
// RUN: %clangxx_asan -O0 %s %p/Helpers/initialization-nobug-extra.cpp -o %t && %env_asan_opts=check_initialization_order=true:report_globals=3 %run %t 2>&1 | FileCheck %s --implicit-check-not "DynInit"
// RUN: %clangxx_asan -O1 %s %p/Helpers/initialization-nobug-extra.cpp -o %t && %env_asan_opts=check_initialization_order=true:report_globals=3 %run %t 2>&1 | FileCheck %s --implicit-check-not "DynInit"
// RUN: %clangxx_asan -O2 %s %p/Helpers/initialization-nobug-extra.cpp -o %t && %env_asan_opts=check_initialization_order=true:report_globals=3 %run %t 2>&1 | FileCheck %s --implicit-check-not "DynInit"
More information about the llvm-commits
mailing list