[all-commits] [llvm/llvm-project] ea49e0: [lldb] Don't report all progress event as complete...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Mar 7 09:55:23 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea49e04b35bc8e4bed7ee4db4074d201f780a15c
https://github.com/llvm/llvm-project/commit/ea49e04b35bc8e4bed7ee4db4074d201f780a15c
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M lldb/include/lldb/Core/Progress.h
M lldb/source/Core/Progress.cpp
M lldb/unittests/Core/ProgressReportTest.cpp
Log Message:
-----------
[lldb] Don't report all progress event as completed. (#84281)
Currently, progress events reported by the ProgressManager and broadcast
to eBroadcastBitProgressCategory always specify they're complete. The
problem is that the ProgressManager reports kNonDeterministicTotal for
both the total and the completed number of (sub)events. Because the
values are the same, the event reports itself as complete.
This patch fixes the issue by reporting 0 as the completed value for the
start event and kNonDeterministicTotal for the end event.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list