[all-commits] [llvm/llvm-project] 12fa4b: [lldb] Make sure that a `Progress` "completed" upd...
royitaqi via All-commits
all-commits at lists.llvm.org
Wed Aug 7 07:58:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 12fa4b17dcededbd14abfc3ae72f1b798349e847
https://github.com/llvm/llvm-project/commit/12fa4b17dcededbd14abfc3ae72f1b798349e847
Author: royitaqi <royitaqi at users.noreply.github.com>
Date: 2024-08-07 (Wed, 07 Aug 2024)
Changed paths:
M lldb/source/Core/Progress.cpp
M lldb/unittests/Core/ProgressReportTest.cpp
Log Message:
-----------
[lldb] Make sure that a `Progress` "completed" update is always reported at destruction (#102097)
Make all `Progress` destructions to cause `progressEnd` events,
regardless of the value of `m_completed` before the destruction.
Currently, a `Progress` instance with `m_completed != 0 && m_complete !=
m_total` will cause a `progressUpdate` event (not `progressEnd`) at
destruction and. This contradicts with the classdoc: "a progress completed
update is reported even if the user doesn't explicitly cause one to be sent."
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