[Lldb-commits] [lldb] [lldb][test] Disable TestExitDuringStep.py on Windows on Arm (PR #228391)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 2 03:49:53 PDT 2026
https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/228391
We are not able to unwind through functions with signed return addresses (https://github.com/llvm/llvm-project/issues/228374), and ntdll on Windows on Arm is signed (at least for the bot machine it is).
This causes us to miscount the application threads and fail the test. We'll need to do non-trivial work to strip the address, so I'm skipping this test in the meantime.
Test was recently re-enabled by #227318.
>From 223947af01446900e9c56c4cfd6a22c95b803615 Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at arm.com>
Date: Fri, 2 Oct 2026 10:45:52 +0000
Subject: [PATCH] [lldb][test] Disable TestExitDuringStep.py on Windows on Arm
We are not able to unwind through functions with signed return
addresses (https://github.com/llvm/llvm-project/issues/228374),
and ntdll on Windows on Arm is signed (at least for the bot machine
it is).
This causes us to miscount the application threads and fail the
test.
We'll need to do non-trivial work to strip the address, so
I'm skipping this test in the meantime.
Test was recently re-enabled by #227318.
---
.../thread/exit_during_step/TestExitDuringStep.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/lldb/test/API/functionalities/thread/exit_during_step/TestExitDuringStep.py b/lldb/test/API/functionalities/thread/exit_during_step/TestExitDuringStep.py
index 745da6c11e726..460430009e2f4 100644
--- a/lldb/test/API/functionalities/thread/exit_during_step/TestExitDuringStep.py
+++ b/lldb/test/API/functionalities/thread/exit_during_step/TestExitDuringStep.py
@@ -11,6 +11,11 @@
@requireThreadSupport
class ExitDuringStepTestCase(TestBase):
+ # On Windows on Arm we cannot backtrace through a function with a signed return address.
+ # This causes us to miscount the number of application threads in this test
+ # because ntdll is using return address signing. https://github.com/llvm/llvm-project/issues/228374
+
+ @skipIf(oslist=["windows"], archs=["aarch64"])
def test(self):
"""Test thread exit during step handling."""
self.build()
@@ -18,6 +23,7 @@ def test(self):
"thread step-inst -m all-threads", "stop reason = instruction step", True
)
+ @skipIf(oslist=["windows"], archs=["aarch64"])
def test_step_over(self):
"""Test thread exit during step-over handling."""
self.build()
@@ -25,6 +31,7 @@ def test_step_over(self):
"thread step-over -m all-threads", "stop reason = step over", False
)
+ @skipIf(oslist=["windows"], archs=["aarch64"])
def test_step_in(self):
"""Test thread exit during step-in handling."""
self.build()
More information about the lldb-commits
mailing list