[Lldb-commits] [lldb] [lldb] Fix stale Symbol pointer crash in statusline after 'target symbols add' (PR #188377)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 27 10:58:44 PDT 2026


================
@@ -32,6 +32,9 @@ class Statusline {
   /// Redraw the statusline.
   void Redraw(std::optional<ExecutionContextRef> exe_ctx_ref);
 
+  /// Clear the cached execution context to discard stale pointers.
+  void Flush();
----------------
clayborg wrote:

That makes sense to me.

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


More information about the lldb-commits mailing list