19 m_opaque_up = std::make_unique<lldb_private::Progress>(
20 title, details, std::nullopt, debugger.
get(),
29 m_opaque_up = std::make_unique<lldb_private::Progress>(
30 title, details, total_units, debugger.
get(),
46 std::optional<std::string> description_opt;
47 if (description && description[0])
48 description_opt = description;
49 m_opaque_up->Increment(amount, std::move(description_opt));
#define LLDB_INSTRUMENT_VA(...)
lldb_private::Debugger * get() const
lldb_private::Progress & ref() const
void Finalize()
Explicitly finalize an SBProgress, this can be used to terminate a progress on command instead of wai...
SBProgress(const char *title, const char *details, SBDebugger &debugger)
Construct a progress object with a title, details and a given debugger.
void Increment(uint64_t amount, const char *description=nullptr)
std::unique_ptr< lldb_private::Progress > m_opaque_up
A Progress indicator helper class.