[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 11:00:29 PDT 2026
================
@@ -457,6 +457,9 @@ class Debugger : public std::enable_shared_from_this<Debugger>,
/// Redraw the statusline if enabled.
void RedrawStatusline(std::optional<ExecutionContextRef> exe_ctx_ref);
+ /// Flush cached state (e.g. stale execution context in the statusline).
+ void Flush();
----------------
clayborg wrote:
We really probably need to clear more that just the status line. I am guessing the command interpreter and other things might need to, so we added this function to allow the debugger to allow for more things to be cleared.
https://github.com/llvm/llvm-project/pull/188377
More information about the lldb-commits
mailing list