[Lldb-commits] [lldb] [lldb] Introduce ScriptedFrameProvider for real threads (PR #161870)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 15 16:10:34 PDT 2025


================
@@ -1400,6 +1407,9 @@ class Thread : public std::enable_shared_from_this<Thread>,
   /// The Thread backed by this thread, if any.
   lldb::ThreadWP m_backed_thread;
 
+  /// The Scripted Frame Provider, if any.
+  lldb::ScriptedFrameProviderSP m_frame_provider_sp;
----------------
JDevlieghere wrote:

Would it be more ergonomic to have one StackFrameProvider per target, rather than one per thread? Conceptually, it's probably nice to be closer to the thread level, but I wonder if that doesn't complicate instantiation, as threads can come and go on each stop. 

https://github.com/llvm/llvm-project/pull/161870


More information about the lldb-commits mailing list