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

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 12 14:42:10 PDT 2024


================
@@ -1024,6 +1027,8 @@ Status MinidumpFileBuilder::AddMemoryList_32(
     error = AddData(data_up->GetBytes(), bytes_read);
     if (error.Fail())
       return error;
+
+    progress.Increment();
----------------
clayborg wrote:

might be nice to add detail before the ReadMemory above in case the first range is huge and give a description:
```
std::string descriotion = ...; // Put string in that give us the memory range as a string
process.Increment(1, description);
```

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


More information about the lldb-commits mailing list