[Lldb-commits] [lldb] [lldb][test] Adjust Windows xfails now that PDB tests are ran (PR #231831)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 14 02:29:40 PDT 2026
https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/231831
Since #230116, several tests have been failing on Windows on Arm. Failing aka not running before and now running and failing.
It seems that PDB versions pass on Windows on x86_64 but not AArch64. Though I am suspicious of that, I cannot find any evidence of x86_64 failures so I assume it's the case.
>From c1a83a8e0ebab063482d3413d9737a38f6006046 Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at arm.com>
Date: Wed, 14 Oct 2026 09:26:01 +0000
Subject: [PATCH] [lldb][test] Adjust Windows xfails now that PDB tests are ran
Since #230116, several tests have been failing on Windows
on Arm. Failing aka not running before and now running
and failing.
It seems that PDB versions pass on Windows on x86_64 but
not AArch64. Though I am suspicious of that, I cannot
find any evidence of x86_64 failures so I assume it's
the case.
---
.../inferior-assert/TestInferiorAssert.py | 20 +++++++++++++++++++
.../inline-stepping/TestInlineStepping.py | 4 ++++
.../return-value/TestReturnValue.py | 1 +
.../static_members/TestCPPStaticMembers.py | 2 ++
.../TestCppUnionStaticMembers.py | 1 +
5 files changed, 28 insertions(+)
diff --git a/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
index 32551056976ce..f08cabec64333 100644
--- a/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
+++ b/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
@@ -14,6 +14,10 @@ class AssertingInferiorTestCase(TestBase):
debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
+ @expectedFailureAll(
+ oslist=["windows"],
+ archs=["aarch64"],
+ )
@expectedFailureAll(oslist=["linux"], archs=["arm$"], bugnumber="llvm.org/pr25338")
@expectedFailureAll(bugnumber="llvm.org/pr26592", triple="^mips")
def test_inferior_asserting(self):
@@ -26,6 +30,10 @@ def test_inferior_asserting(self):
debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
+ @expectedFailureAll(
+ oslist=["windows"],
+ archs=["aarch64"],
+ )
@expectedFailureAndroid(api_levels=list(range(16 + 1))) # b.android.com/179836
def test_inferior_asserting_register(self):
"""Test that lldb reliably reads registers from the inferior after asserting (command)."""
@@ -37,6 +45,10 @@ def test_inferior_asserting_register(self):
debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
+ @expectedFailureAll(
+ oslist=["windows"],
+ archs=["aarch64"],
+ )
@expectedFailureAll(
oslist=["linux"],
archs=["arm$"],
@@ -64,6 +76,10 @@ def test_inferior_asserting_python(self):
debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
+ @expectedFailureAll(
+ oslist=["windows"],
+ archs=["aarch64"],
+ )
@expectedFailureAll(
oslist=["linux"],
archs=["arm$"],
@@ -81,6 +97,10 @@ def test_inferior_asserting_expr(self):
debug_info=no_match(["pdb"]),
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows",
)
+ @expectedFailureAll(
+ oslist=["windows"],
+ archs=["aarch64"],
+ )
@expectedFailureAll(
oslist=["linux"],
archs=["arm$"],
diff --git a/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py b/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
index ee796f9252bdf..591b912ee9983 100644
--- a/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
+++ b/lldb/test/API/functionalities/inline-stepping/TestInlineStepping.py
@@ -31,6 +31,10 @@ def test_step_over_with_python_api(self):
@expectedFailureAll(
oslist=["windows"], debug_info=no_match(["pdb"]), bugnumber="llvm.org/pr32343"
)
+ @expectedFailureAll(
+ oslist=["windows"],
+ archs=["aarch64"],
+ )
def test_step_in_template_with_python_api(self):
"""Test stepping in to templated functions."""
self.build()
diff --git a/lldb/test/API/functionalities/return-value/TestReturnValue.py b/lldb/test/API/functionalities/return-value/TestReturnValue.py
index 5ccac63679697..e1e2a377c662c 100644
--- a/lldb/test/API/functionalities/return-value/TestReturnValue.py
+++ b/lldb/test/API/functionalities/return-value/TestReturnValue.py
@@ -192,6 +192,7 @@ def test_with_python(self):
@expectedFailureAll(
oslist=["windows"], archs=["i[3-6]86", "x86_64"], bugnumber="llvm.org/pr24778"
)
+ @expectedFailureAll(oslist=["windows"], archs=["aarch64"], debug_info=["pdb"])
def test_vector_values(self):
self.build()
exe = self.getBuildArtifact("a.out")
diff --git a/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py b/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
index 96ab6b498c27d..7afeb45503aef 100644
--- a/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
+++ b/lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
@@ -12,6 +12,7 @@
class TestCase(TestBase):
# We fail to lookup static members on Windows.
@expectedFailureAll(oslist=["windows"], debug_info=no_match(["pdb"]))
+ @expectedFailureAll(oslist=["windows"], archs=["aarch64"])
@requireExpressionEvaluation
def test_access_from_main(self):
self.build()
@@ -25,6 +26,7 @@ def test_access_from_main(self):
# We fail to lookup static members on Windows.
@expectedFailureAll(oslist=["windows"], debug_info=no_match(["pdb"]))
+ @expectedFailureAll(oslist=["windows"], archs=["aarch64"])
@requireExpressionEvaluation
def test_access_from_member_function(self):
self.build()
diff --git a/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py b/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
index 4ec60318768bd..fd566f8a032e0 100644
--- a/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
+++ b/lldb/test/API/lang/cpp/union-static-data-members/TestCppUnionStaticMembers.py
@@ -34,6 +34,7 @@ def test_print_union(self):
)
@expectedFailureAll(oslist=["windows"], debug_info=no_match(["pdb"]))
+ @expectedFailureAll(oslist=["windows"], archs=["aarch64"])
def test_expr_union_static_members(self):
"""Tests that frame variable and expr work
for union static data members"""
More information about the lldb-commits
mailing list