================ @@ -969,12 +969,89 @@ Status MinidumpFileBuilder::DumpDirectories() const { return error; } -static uint64_t -GetLargestRangeSize(const std::vector<CoreFileMemoryRange> &ranges) { - uint64_t max_size = 0; - for (const auto &core_range : ranges) - max_size = std::max(max_size, core_range.range.size()); - return max_size; +Status MinidumpFileBuilder::ReadWriteMemoryInChunks( + const lldb_private::CoreFileMemoryRange &range, uint64_t *bytes_read) { ---------------- clayborg wrote:
change `uint64_t *bytes_read` to `uint64_t &bytes_read` https://github.com/llvm/llvm-project/pull/129307 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits