[Lldb-commits] [lldb] [lldb] Don't report all progress event as completed. (PR #84281)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 7 08:21:43 PST 2024
================
@@ -110,20 +110,22 @@ void ProgressManager::Decrement(const Progress::ProgressData &progress_data) {
return;
if (pos->second.first <= 1) {
- ReportProgress(pos->second.second);
+ ReportProgress(pos->second.second, EventType::End);
m_progress_category_map.erase(progress_data.title);
} else {
--pos->second.first;
}
}
void ProgressManager::ReportProgress(
- const Progress::ProgressData &progress_data) {
- // The category bit only keeps track of when progress report categories have
+ const Progress::ProgressData &progress_data, EventType type) {
+ // the category bit only keeps track of when progress report categories have
----------------
adrian-prantl wrote:
```suggestion
// The category bit only keeps track of when progress report categories have
```
https://github.com/llvm/llvm-project/pull/84281
More information about the lldb-commits
mailing list