[all-commits] [llvm/llvm-project] 3ff6fb: [LLDB][SBProgress] Add a finalize method (#128966)

Jacob Lalonde via All-commits all-commits at lists.llvm.org
Mon Mar 3 14:01:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ff6fb68d7aadf570a15a8a068ce7b24851e136d
      https://github.com/llvm/llvm-project/commit/3ff6fb68d7aadf570a15a8a068ce7b24851e136d
  Author: Jacob Lalonde <jalalonde at fb.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M lldb/bindings/interface/SBProgressDocstrings.i
    M lldb/include/lldb/API/SBProgress.h
    M lldb/source/API/SBProgress.cpp
    M lldb/test/API/python_api/sbprogress/TestSBProgress.py

  Log Message:
  -----------
  [LLDB][SBProgress] Add a finalize method (#128966)

This patch adds a finalize method which destroys the underlying RAII
SBProgress. My primary motivation for this is so I can write better
tests that are non-flaky, but after discussing with @clayborg in my DAP
message improvement patch (#124648) this is probably an essential API
despite that I originally argued it wasn't.



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