[Lldb-commits] [lldb] [lldb] Fix variable access in old SBFrames after inferior function calls (PR #178823)

via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 2 18:01:49 PST 2026


================
@@ -283,13 +289,10 @@ class ExecutionContextRef {
                                               /// backing object changes
   StackID m_stack_id; ///< The stack ID that this object refers to in case the
                       ///< backing object changes
-  mutable lldb::StackFrameListWP
-      m_frame_list_wp; ///< Weak reference to the
-                       ///< frame list that contains
-                       ///< this frame. If we can create a valid
-                       ///< StackFrameListSP from it, we must use it to resolve
-                       ///< the StackID, otherwise, we should ask the Thread's
-                       ///< StackFrameList.
+  /// Identifier of the frame list containing the frame.
----------------
jimingham wrote:

This is a map, so it can't be a singular identifier.  Instead you should say "A map of identifiers to scripted frame providers used in this thread." or something like that.

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


More information about the lldb-commits mailing list