llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Med Ismail Bennani (medismailben) <details> <summary>Changes</summary> This patch changes the progress count formatting show thousands separator making it easier to read big numbers. --- Full diff: https://github.com/llvm/llvm-project/pull/137446.diff 1 Files Affected: - (modified) lldb/source/Core/FormatEntity.cpp (+1-1) ``````````diff diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp index e352d07fe487d..6cdfcfedf8be5 100644 --- a/lldb/source/Core/FormatEntity.cpp +++ b/lldb/source/Core/FormatEntity.cpp @@ -1959,7 +1959,7 @@ bool FormatEntity::Format(const Entry &entry, Stream &s, if (Target *target = Target::GetTargetFromContexts(exe_ctx, sc)) { if (auto progress = target->GetDebugger().GetCurrentProgressReport()) { if (progress->total != UINT64_MAX) { - s.Format("[{0}/{1}]", progress->completed, progress->total); + s.Format("[{0:N}/{1:N}]", progress->completed, progress->total); return true; } } `````````` </details> https://github.com/llvm/llvm-project/pull/137446 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits