================ @@ -969,6 +969,83 @@ Status MinidumpFileBuilder::DumpDirectories() const { return error; } +Status MinidumpFileBuilder::ReadWriteMemoryInChunks( + const std::unique_ptr<lldb_private::DataBufferHeap> &data_up, + const lldb_private::CoreFileMemoryRange &range, uint64_t *bytes_read) { + if (!data_up) + return Status::FromErrorString("No buffer supplied to read memory."); + + if (!bytes_read) + return Status::FromErrorString("Bytes read pointer cannot be null."); ---------------- clayborg wrote:
Remove this if we switch to using a reference above. 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