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 c1f0b35 commit 270966bCopy full SHA for 270966b
runtime/bin/elf_loader.cc
@@ -428,9 +428,9 @@ bool LoadedElf::LoadSegments() {
428
// file mapping: we must first unmap the existing mapping.
429
430
if (map_type == File::kReadWrite) {
431
- CHECK_ERROR(file_->SetPosition(file_start),
+ CHECK_ERROR(mappable_->SetPosition(file_start),
432
"Could not advance file position.");
433
- CHECK_ERROR(file_->ReadFully(memory_start, length),
+ CHECK_ERROR(mappable_->ReadFully(memory_start, length),
434
"Could not read file.");
435
continue;
436
}
0 commit comments