[Lldb-commits] [lldb] 618e8b9 - [lldb] Avoid unnecessary statusline redraw in HandleProgressEvent
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 26 23:35:42 PDT 2025
Author: Jonas Devlieghere
Date: 2025-03-26T23:35:36-07:00
New Revision: 618e8b9a708ed037ec90c495890344046d78e5bf
URL: https://github.com/llvm/llvm-project/commit/618e8b9a708ed037ec90c495890344046d78e5bf
DIFF: https://github.com/llvm/llvm-project/commit/618e8b9a708ed037ec90c495890344046d78e5bf.diff
LOG: [lldb] Avoid unnecessary statusline redraw in HandleProgressEvent
There's no need to call RedrawStatusline from HandleProgressEvent. The
statusline gets redraw after handling all events, including progress
events, in the default event handler loop.
Added:
Modified:
lldb/source/Core/Debugger.cpp
Removed:
################################################################################
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index f3e98b3ab2d39..993aa2d970de6 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -2178,8 +2178,6 @@ void Debugger::HandleProgressEvent(const lldb::EventSP &event_sp) {
m_progress_reports.push_back(progress_report);
}
}
-
- RedrawStatusline();
}
std::optional<Debugger::ProgressReport>
More information about the lldb-commits
mailing list