Lines Matching refs:Sections
110 static void DumpAddress(uint64_t Address, ArrayRef<SectionRef> Sections,
112 for (unsigned i = 0; i != Sections.size(); ++i) {
114 Sections[i].getAddress(SectAddr);
115 Sections[i].getSize(SectSize);
120 Sections[i].getContents(bytes);
121 Sections[i].getName(name);
205 std::vector<SectionRef> &Sections,
218 Sections.push_back(*SI);
292 std::vector<SectionRef> Sections;
296 getSectionsAndSymbols(Header, MachOOF.get(), &SymtabLC, Sections, Symbols,
317 ArrayRef<SectionRef> DebugSections = Sections;
321 // get the sections and supply it to the section name parsing machinery.
340 // Find the named debug info sections.
369 for (unsigned SectIdx = 0; SectIdx != Sections.size(); SectIdx++) {
371 if (Sections[SectIdx].getName(SectName) ||
373 continue; // Skip non-text sections
377 Sections[SectIdx].getAddress(VMAddr);
380 Sections[SectIdx].getContents(SectBegin);
387 Sections[SectIdx].getContents(Bytes);
394 for (relocation_iterator RI = Sections[SectIdx].begin_relocations(),
395 RE = Sections[SectIdx].end_relocations(); RI != RE; RI.increment(ec)) {
398 Sections[SectIdx].getAddress(SectionAddress);
420 Sections[SectIdx].containsSymbol(Symbols[SymIdx], containsSym);
427 Sections[SectIdx].getAddress(SectionAddress);
440 Sections[SectIdx].containsSymbol(Symbols[NextSymIdx],
450 Sections
469 Sections[SectIdx].getAddress(SectAddress);
506 Sections[SectIdx].getSize(SectSize);
507 Sections[SectIdx].getAddress(SectAddress);
520 Sections[SectIdx].getSize(SectSize);
559 Sections[SectIdx].getSize(SectSize);
560 Sections[SectIdx].getAddress(SectAddress);
609 DumpAddress(Addr, Sections, MachOObj, outs());
618 DumpAddress(targ, Sections, MachOObj, outs());