[Lldb-commits] [lldb] [lldb][progress] Correctly check total for deterministic progress (PR #79912)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 29 22:15:43 PST 2024
================
@@ -41,7 +41,7 @@ void ProgressEventData::Dump(Stream *s) const {
s->PutCString(", type = update");
// If m_total is UINT64_MAX, there is no progress to report, just "start"
// and "end". If it isn't we will show the completed and total amounts.
- if (m_total != UINT64_MAX)
+ if (m_total != 1)
----------------
clayborg wrote:
```
if (m_total != Progress::kNonDeterministicTotal)
```
https://github.com/llvm/llvm-project/pull/79912
More information about the lldb-commits
mailing list