Lines Matching refs:sections
173 cmd->sections.reserve(cmd->sectionBases.size()); in finalizeInputSections()
177 cmd->sections.push_back(cast<InputSection>(s)); in finalizeInputSections()
206 cmd->sections.push_back(syn); in finalizeInputSections()
216 for (InputSection *s : cmd->sections) in finalizeInputSections()
248 sortByOrder(isd->sections, order); in sort()
342 std::vector<InputSection *> sections = getInputSections(this); in writeTo() local
346 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo()
348 parallelForEachN(0, sections.size(), [&](size_t i) { in writeTo()
349 InputSection *isec = sections[i]; in writeTo()
356 if (i + 1 == sections.size()) in writeTo()
359 end = buf + sections[i + 1]->outSecOff; in writeTo()
391 ArrayRef<InputSectionBase *> sections = section->file->getSections(); in finalizeShtGroup() local
393 if (OutputSection *osec = sections[read32(&idx)]->getOutputSection()) in finalizeShtGroup()
490 llvm::stable_sort(isd->sections, compCtors); in sortCtorsDtors()
510 if (!isd->sections.empty()) in getFirstInputSection()
511 return isd->sections[0]; in getFirstInputSection()
519 ret.insert(ret.end(), isd->sections.begin(), isd->sections.end()); in getInputSections()
545 std::vector<InputSection *> sections = getInputSections(this); in checkDynRelAddends() local
546 parallelForEachN(0, sections.size(), [&](size_t i) { in checkDynRelAddends()
551 const auto *sec = dyn_cast<RelocationBaseSection>(sections[i]); in checkDynRelAddends()