Home | History | Annotate | Download | only in RuntimeDyld

Lines Matching refs:Sections

50   // Just iterate over the sections we have and resolve all the relocations
52 for (int i = 0, e = Sections.size(); i != e; ++i) {
53 // The Section here (Sections[i]) refers to the section in which the
56 uint64_t Addr = Sections[i].LoadAddress;
67 for (unsigned i = 0, e = Sections.size(); i != e; ++i) {
68 if (Sections[i].Address == LocalAddress) {
115 // Compute the memory size required to load all sections to be loaded
125 // Used sections from the object file
216 // Computes the memory size required to allocate sections with the given sizes,
217 // assuming that all sections are allocated with the given alignment
231 // sections
236 // Compute the size of all sections required for execution
242 // Collect sizes of all sections to be loaded;
243 // also determine the max alignment of all sections
251 // Consider only the sections that are required to be loaded for execution
309 // Compute the required allocation space for each different type of sections
310 // (code, read-only data, read-write data) assuming that all sections are
312 // individual alignments of the sections, because then the required size
313 // depends on the order, in which the sections are allocated.
327 // necessary section allocation size in loadObject by walking all the sections
362 unsigned SectionID = Sections.size();
368 Sections.push_back(SectionEntry(StringRef(), Addr, TotalSize, 0));
429 unsigned SectionID = Sections.size();
433 // Some sections, such as debug info, don't need to be loaded for execution.
444 // Virtual sections have no data in the object image, so leave pData = 0
470 // with these sections).
479 Sections.push_back(SectionEntry(Name, Addr, DataSize, (uintptr_t)pData));
605 // be applied until all the sections have been moved. The client must
612 Sections[SectionID].LoadAddress = Addr;
619 // Ignore relocations for sections that were not loaded
620 if (Sections[RE.SectionID].Address == nullptr)