Lines Matching full:sections
86 // Print out the sections prior to relocation.
88 for (int i = 0, e = Sections.size(); i != e; ++i)
89 dumpSectionMemory(Sections[i], "before relocations");
97 // The Section here (Sections[i]) refers to the section in which the
101 uint64_t Addr = Sections[Idx].getLoadAddress();
108 // Print out sections after relocation.
110 for (int i = 0, e = Sections.size(); i != e; ++i)
111 dumpSectionMemory(Sections[i], "after relocations");
119 for (unsigned i = 0, e = Sections.size(); i != e; ++i) {
120 if (Sections[i].getAddress() == LocalAddress) {
146 // Compute the memory size required to load all sections to be loaded
154 // Used sections from the object file
266 // Computes the memory size required to allocate sections with the given sizes,
267 // assuming that all sections are allocated with the given alignment
286 // Avoid loading zero-sized COFF sections.
288 // may be zero for sections with content. In Obj files, SizeOfRawData
335 // sections
340 // Compute the size of all sections required for execution
346 // Collect sizes of all sections to be loaded;
347 // also determine the max alignment of all sections
354 // Consider only the sections that are required to be loaded for execution
408 // Compute the required allocation space for each different type of sections
409 // (code, read-only data, read-write data) assuming that all sections are
411 // individual alignments of the sections, because then the required size
412 // depends on the order, in which the sections are allocated.
426 // necessary section allocation size in loadObject by walking all the sections
514 unsigned SectionID = Sections.size();
520 Sections.push_back(
584 unsigned SectionID = Sections.size();
603 // Some sections, such as debug info, don't need to be loaded for execution.
637 // with these sections).
646 Sections.push_back(
776 // be applied until all the sections have been moved. The client must
784 << Sections[SectionID].getName() << "): "
785 << format("0x%016" PRIx64, Sections[SectionID].getLoadAddress())
787 Sections[SectionID].setLoadAddress(Addr);
794 // Ignore relocations for sections that were not loaded
795 if (Sections[RE.SectionID].getAddress() == nullptr)
863 return RTDyld.Sections[I->second].getLoadAddress();