Author: Yao Qi
Date: 2026-08-15T17:56:39+01:00
New Revision: 0c2e521f8b587b0c3fb5825fb157c3938fef4ff6

URL: 
https://github.com/llvm/llvm-project/commit/0c2e521f8b587b0c3fb5825fb157c3938fef4ff6
DIFF: 
https://github.com/llvm/llvm-project/commit/0c2e521f8b587b0c3fb5825fb157c3938fef4ff6.diff

LOG: [lldb][test] Skip the frame 0 stack expedite test with an out-of-tree 
debugserver (#216496)

test_threads_info_expedites_stopped_frame_stack asserts that
jThreadsInfo
carries frame 0's stack memory for the stopped thread. debugserver only
does
that since b631e0cbd1c9, so a system debugserver sends the backchain
alone and
the test fails with "no frame 0 stack memory for stopped thread".

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py

Removed: 
    


################################################################################
diff  --git 
a/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py 
b/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
index 1f0f9c02e819a..dc0c62bd37502 100644
--- a/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
+++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
@@ -209,6 +209,9 @@ def test_stop_reply_expedites_frame_pointer_backchain(self):
         # walks depends on where the backchain terminates.
         self.assertLessEqual(len(entries), 2, "expected at most 2 backchain 
entries")
 
+    # Frame 0's stack memory is expedited only by a debugserver built from this
+    # tree; an older system debugserver sends the backchain alone.
+    @skipIfOutOfTreeDebugserver
     @add_test_categories(["debugserver"])
     def test_threads_info_expedites_stopped_frame_stack(self):
         """jThreadsInfo expedites every thread's frame pointer backchain, plus


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to