[Lldb-commits] [lldb] [LLDB][SBProgress] Add a finalize method (PR #128966)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 26 16:24:41 PST 2025


================
@@ -59,6 +59,11 @@ class LLDB_API SBProgress {
 
   void Increment(uint64_t amount, const char *description = nullptr);
 
+  /// Explicitly finalize an SBProgress, this can be used to terminate a
+  /// progress on command instead of waiting for a garbage collection or other
+  /// finalizer.
----------------
clayborg wrote:

```
  /// progress on command instead of waiting for a garbage collection or other
  /// RAII to destroy the contained progress object.


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


More information about the lldb-commits mailing list