llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Yao Qi (qiyao) <details> <summary>Changes</summary> 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". --- Full diff: https://github.com/llvm/llvm-project/pull/216496.diff 1 Files Affected: - (modified) lldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py (+3) ``````````diff 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 `````````` </details> https://github.com/llvm/llvm-project/pull/216496 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
