Lines Matching refs:SectionCommand

296   for (SectionCommand *cmd : script->sectionCommands)  in findSection()
499 for (SectionCommand *cmd : script->sectionCommands) { in addSectionSymbols()
507 for (SectionCommand *cmd : osec.commands) { in addSectionSymbols()
766 static bool compareSections(const SectionCommand *aCmd, in compareSections()
767 const SectionCommand *bCmd) { in compareSections()
904 static int getRankProximity(OutputSection *a, SectionCommand *b) { in getRankProximity()
925 static bool shouldSkip(SectionCommand *cmd) { in shouldSkip()
934 static SmallVectorImpl<SectionCommand *>::iterator
935 findOrphanPos(SmallVectorImpl<SectionCommand *>::iterator b, in findOrphanPos()
936 SmallVectorImpl<SectionCommand *>::iterator e) { in findOrphanPos()
946 auto i = std::find_if(b, e, [=](SectionCommand *a) { in findOrphanPos()
974 auto isOutputSecWithInputSections = [](SectionCommand *cmd) { in findOrphanPos()
1200 for (SectionCommand *b : osec.commands) in sortSection()
1233 for (SectionCommand *cmd : script->sectionCommands) in sortInputSections()
1250 for (SectionCommand *cmd : script->sectionCommands) in sortSections()
1258 [](SectionCommand *cmd) { return isa<OutputDesc>(cmd); }); in sortSections()
1315 auto nonScriptI = std::find_if(i, e, [](SectionCommand *cmd) { in sortOrphanSections()
1329 std::find_if(i, e, [](SectionCommand *cmd) { return !shouldSkip(cmd); }); in sortOrphanSections()
1342 auto end = std::find_if(nonScriptI + 1, e, [=](SectionCommand *cmd) { in sortOrphanSections()
1383 for (SectionCommand *cmd : sec->commands) { in resolveShfLinkOrder()
1539 for (SectionCommand *cmd : script->sectionCommands) in finalizeAddressDependentContent()
1683 for (SectionCommand *cmd : osec->commands) in removeUnusedSyntheticSections()
1704 for (SectionCommand *cmd : script->sectionCommands) in finalizeSections()
1888 for (SectionCommand *cmd : script->sectionCommands) in finalizeSections()