[compiler-rt] [compiler-rt] [test] Add an XFAIL for the initialization-nobug.cpp test on mingw (PR #101814)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 3 04:19:53 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Martin Storsjö (mstorsjo)
<details>
<summary>Changes</summary>
This test fails on MinGW targets since
982cfae465cabac3478f597a63feda64cf5e267c.
---
Full diff: https://github.com/llvm/llvm-project/pull/101814.diff
1 Files Affected:
- (modified) compiler-rt/test/asan/TestCases/initialization-nobug.cpp (+4)
``````````diff
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"
``````````
</details>
https://github.com/llvm/llvm-project/pull/101814
More information about the llvm-commits
mailing list