19 m_opaque_up = std::make_unique<lldb_private::Progress>(
20 llvm::StringRef(title).str(), llvm::StringRef(details).str(),
21 std::nullopt, debugger.
get(),
30 m_opaque_up = std::make_unique<lldb_private::Progress>(
31 llvm::StringRef(title).str(), llvm::StringRef(details).str(), total_units,
48 std::optional<std::string> description_opt;
49 if (description && description[0])
50 description_opt = description;
51 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.