llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-remote-linux-win`
running on `as-builder-10` while building `lldb` at step 17
"test-check-lldb-api".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/197/builds/
Here is the relevant piece of
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-remote-linux-ubuntu`
running on `as-builder-9` while building `lldb` at step 16
"test-check-lldb-api".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/195/builds/3971
Here is the relevant piece
https://github.com/kastiglione closed
https://github.com/llvm/llvm-project/pull/123981
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
jimingham wrote:
I still think callers shouldn't have to do this, but to make the internal API
good you'd really have to return a Status, so this is okay for now.
https://github.com/llvm/llvm-project/pull/123981
___
lldb-commits mailing list
lldb-comm
https://github.com/kastiglione edited
https://github.com/llvm/llvm-project/pull/123981
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
@@ -51,6 +51,12 @@ STRING_EXTENSION_OUTSIDE(SBThread)
for idx in range(self.GetStopReasonDataCount())
]
+def set_selected_frame(self, frame):
+if isinstance(frame, SBFrame):
+self.SetSelectedFrame(frame.idx)
-
@@ -51,6 +51,12 @@ STRING_EXTENSION_OUTSIDE(SBThread)
for idx in range(self.GetStopReasonDataCount())
]
+def set_selected_frame(self, frame):
+if isinstance(frame, SBFrame):
+self.SetSelectedFrame(frame.idx)
-
https://github.com/kastiglione updated
https://github.com/llvm/llvm-project/pull/123981
>From 3929895879a226bf8f0e407fead4524597a429af Mon Sep 17 00:00:00 2001
From: Dave Lee
Date: Wed, 22 Jan 2025 08:18:36 -0800
Subject: [PATCH 1/3] [lldb] Add SBThread.selected_frame property
---
lldb/bindin
@@ -51,6 +51,12 @@ STRING_EXTENSION_OUTSIDE(SBThread)
for idx in range(self.GetStopReasonDataCount())
]
+def set_selected_frame(self, frame):
+if isinstance(frame, SBFrame):
+self.SetSelectedFrame(frame.idx)
-
@@ -51,6 +51,12 @@ STRING_EXTENSION_OUTSIDE(SBThread)
for idx in range(self.GetStopReasonDataCount())
]
+def set_selected_frame(self, frame):
+if isinstance(frame, SBFrame):
+self.SetSelectedFrame(frame.idx)
-
@@ -51,6 +51,12 @@ STRING_EXTENSION_OUTSIDE(SBThread)
for idx in range(self.GetStopReasonDataCount())
]
+def set_selected_frame(self, frame):
+if isinstance(frame, SBFrame):
+self.SetSelectedFrame(frame.idx)
-
@@ -51,6 +51,12 @@ STRING_EXTENSION_OUTSIDE(SBThread)
for idx in range(self.GetStopReasonDataCount())
]
+def set_selected_frame(self, frame):
+if isinstance(frame, SBFrame):
+self.SetSelectedFrame(frame.idx)
-
https://github.com/kastiglione updated
https://github.com/llvm/llvm-project/pull/123981
>From 3929895879a226bf8f0e407fead4524597a429af Mon Sep 17 00:00:00 2001
From: Dave Lee
Date: Wed, 22 Jan 2025 08:18:36 -0800
Subject: [PATCH 1/2] [lldb] Add SBThread.selected_frame property
---
lldb/bindin
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r
ec15b242505a46ea7d195a6520fb869a80a2cd10...3929895879a226bf8f0e407fead4524597a429af
lldb/
@@ -99,11 +99,8 @@ def test_api(self):
(target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
self, "// break here", lldb.SBFileSpec("main.cpp")
)
-frame = thread.GetSelectedFrame()
num_hidden = 0
-for i in rang
https://github.com/kastiglione edited
https://github.com/llvm/llvm-project/pull/123981
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: Dave Lee (kastiglione)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/123981.diff
5 Files Affected:
- (modified) lldb/bindings/interface/SBThreadExtensions.i (+7)
- (modified) lldb/test/API/commands/frame/recognizer/T
https://github.com/kastiglione created
https://github.com/llvm/llvm-project/pull/123981
None
>From 3929895879a226bf8f0e407fead4524597a429af Mon Sep 17 00:00:00 2001
From: Dave Lee
Date: Wed, 22 Jan 2025 08:18:36 -0800
Subject: [PATCH] [lldb] Add SBThread.selected_frame property
---
lldb/bind
18 matches
Mail list logo