We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cfd90c commit 8ac6d5bCopy full SHA for 8ac6d5b
lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
@@ -998,7 +998,8 @@ Status MinidumpFileBuilder::ReadWriteMemoryInChunks(
998
"Failed to read memory region at: %" PRIx64
999
". Bytes read: %zu, error: %s",
1000
addr, bytes_read_for_chunk, error.AsCString());
1001
- // If we've only read one byte we can just give up and return
+ // If we've read nothing, and get an error or fail to read
1002
+ // we can just give up early.
1003
if (total_bytes_read == 0)
1004
return Status();
1005
0 commit comments