Lines Matching defs:section
386 // the symbol type because the section type isn't specify if it is
387 // a code or a data section.
488 size_t ObjectFile::ReadSectionData(Section *section,
491 assert(section);
492 section_offset *= section->GetTargetByteSize();
495 if (section->GetObjectFile() != this)
496 return section->GetObjectFile()->ReadSectionData(section, section_offset,
499 if (!section->IsRelocated())
500 RelocateSection(section);
507 section->GetLoadBaseAddress(&process_sp->GetTarget());
513 const lldb::offset_t section_file_size = section->GetFileSize();
519 return CopyData(section->GetFileOffset() + section_offset,
522 if (section->GetType() == eSectionTypeZeroFill) {
523 const uint64_t section_size = section->GetByteSize();
536 // Get the section data the file on disk
537 size_t ObjectFile::ReadSectionData(Section *section,
540 if (section->GetObjectFile() != this)
541 return section->GetObjectFile()->ReadSectionData(section, section_data);
543 if (!section->IsRelocated())
544 RelocateSection(section);
550 section->GetLoadBaseAddress(&process_sp->GetTarget());
553 ReadMemory(process_sp, base_load_addr, section->GetByteSize()));
566 return GetData(section->GetFileOffset(), GetSectionDataSize(section),
668 void ObjectFile::RelocateSection(lldb_private::Section *section)
747 // sections which causes ObjectFile::GetSectionData(...) to relocate section