• Home
  • Raw
  • Download

Lines Matching full:sect

51 #define ENTRY(seg, sect, type, atomType) \  argument
52 {seg, sect, type, DefinedAtom::atomType }
234 if (sym.sect != sectionIndex) in appendSymbolsInSection()
258 // with a / separator (e.g. "seg/sect") to fit into the lld model in atomFromSymbol()
283 for (auto &sect : normalizedFile.sections) { in processSymboledSection() local
284 if (&sect == &section) in processSymboledSection()
477 // with a / separator (e.g. "seg/sect") to fit into the lld model in processSection()
508 const Section *sect = nullptr; in findAtomCoveringAddress() local
509 sect = findSectionCoveringAddress(normalizedFile, addr); in findAtomCoveringAddress()
510 if (!sect) in findAtomCoveringAddress()
514 uint64_t offsetInSect = addr - sect->address; in findAtomCoveringAddress()
516 file.findAtomCoveringAddress(*sect, offsetInSect, &offsetInTarget); in findAtomCoveringAddress()
535 const Section *sect = nullptr; in convertRelocs() local
537 sect = findSectionCoveringAddress(normalizedFile, addr); in convertRelocs()
538 if (!sect) in convertRelocs()
542 sect = &normalizedFile.sections[sectIndex-1]; in convertRelocs()
545 uint64_t offsetInSect = addr - sect->address; in convertRelocs()
546 *atom = file.findAtomCoveringAddress(*sect, offsetInSect, &offsetInTarget); in convertRelocs()
575 if (sym->sect > normalizedFile.sections.size()) in convertRelocs()
577 + Twine(sym->sect) + ") out of range "); in convertRelocs()
578 const Section &symSection = normalizedFile.sections[sym->sect-1]; in convertRelocs()
730 Stab stab(nullptr, stabSym.type, stabSym.sect, stabSym.desc, in parseStabs()
1360 llvm::Error parseObjCImageInfo(const Section &sect, in parseObjCImageInfo() argument
1369 ArrayRef<uint8_t> content = sect.content; in parseObjCImageInfo()
1371 return llvm::make_error<GenericError>(sect.segmentName + "/" + in parseObjCImageInfo()
1372 sect.sectionName + in parseObjCImageInfo()
1379 return llvm::make_error<GenericError>(sect.segmentName + "/" + in parseObjCImageInfo()
1380 sect.sectionName + in parseObjCImageInfo()
1387 return llvm::make_error<GenericError>(sect.segmentName + "/" + in parseObjCImageInfo()
1388 sect.sectionName + in parseObjCImageInfo()
1426 static bool isObjCImageInfo(const Section &sect) { in isObjCImageInfo() argument
1427 return (sect.segmentName == "__OBJC" && sect.sectionName == "__image_info") || in isObjCImageInfo()
1428 (sect.segmentName == "__DATA" && sect.sectionName == "__objc_imageinfo"); in isObjCImageInfo()
1440 for (auto &sect : normalizedFile.sections) { in normalizedObjectToAtoms() local
1443 if (isDebugInfoSection(sect)) in normalizedObjectToAtoms()
1448 if (isObjCImageInfo(sect)) { in normalizedObjectToAtoms()
1449 if (auto ec = parseObjCImageInfo(sect, normalizedFile, *file)) in normalizedObjectToAtoms()
1457 DefinedAtom::ContentType atomType = atomTypeFromSection(sect, in normalizedObjectToAtoms()
1459 if (auto ec = processSection(atomType, sect, customSectionName, in normalizedObjectToAtoms()
1478 for (auto &sect : normalizedFile.sections) { in normalizedObjectToAtoms() local
1479 if (isDebugInfoSection(sect)) in normalizedObjectToAtoms()
1481 if (llvm::Error ec = convertRelocs(sect, normalizedFile, scatterable, in normalizedObjectToAtoms()