================ @@ -40,7 +40,10 @@ SBProgress::~SBProgress() = default; void SBProgress::Increment(uint64_t amount, const char *description) { LLDB_INSTRUMENT_VA(amount, description); - m_opaque_up->Increment(amount, description); + std::optional<std::string> description_opt; + if (description && description[0]) ---------------- Jlalond wrote:
No we only set the value of the description optional if non-null, non-empty description. So `Increment(1, NULL/None in Python)` will bump the count by one but send no message. https://github.com/llvm/llvm-project/pull/128971 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits