[Lldb-commits] [lldb] [lldb] Enable chaining multiple scripted frame providers per thread (PR #172849)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 14 15:56:31 PST 2026


================
@@ -1409,8 +1409,8 @@ 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::SyntheticFrameProviderSP m_frame_provider_sp;
+  /// The Scripted Frame Providers for this thread.
+  std::vector<lldb::SyntheticFrameProviderSP> m_frame_providers;
----------------
JDevlieghere wrote:

Should we make this a `SmallVector<lldb::SyntheticFrameProviderSP, 0>`. Presumably most of the time we won't have any?

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


More information about the lldb-commits mailing list