[Lldb-commits] [lldb] [lldb][progress][NFC] Add unit test for progress reports (PR #79533)

Chelsea Cassanova via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 26 15:39:49 PST 2024


================
@@ -39,7 +39,7 @@ class ProgressEventData : public EventData {
   GetAsStructuredData(const Event *event_ptr);
 
   uint64_t GetID() const { return m_id; }
-  bool IsFinite() const { return m_total != UINT64_MAX; }
+  bool IsFinite() const { return m_total != 1; }
----------------
chelcassanova wrote:

I have this here but let me know if it's better to have this in its own PR

https://github.com/llvm/llvm-project/pull/79533


More information about the lldb-commits mailing list