[Lldb-commits] [lldb] [LLDB][Minidump] Add a progress bar to minidump (PR #108309)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 11 19:27:02 PDT 2024


================
@@ -837,15 +837,17 @@ Status MinidumpFileBuilder::AddMemoryList() {
   error = m_process_sp->CalculateCoreFileSaveRanges(m_save_core_options,
                                                     all_core_memory_ranges);
 
+  if (error.Fail())
+    return error;
+
+  lldb_private::Progress progress_tracker("Saving Minidump File", "",
----------------
JDevlieghere wrote:

```suggestion
  lldb_private::Progress progress("Saving Minidump File", "",
```

https://github.com/llvm/llvm-project/pull/108309


More information about the lldb-commits mailing list