Lines Matching refs:SectionCommand

316   for (SectionCommand *cmd : script->sectionCommands)  in findSection()
785 for (SectionCommand *cmd : script->sectionCommands) { in addSectionSymbols()
793 for (SectionCommand *cmd : osec.commands) { in addSectionSymbols()
1039 static bool compareSections(const SectionCommand *aCmd, in compareSections()
1040 const SectionCommand *bCmd) { in compareSections()
1177 static int getRankProximity(OutputSection *a, SectionCommand *b) { in getRankProximity()
1198 static bool shouldSkip(SectionCommand *cmd) { in shouldSkip()
1207 static SmallVectorImpl<SectionCommand *>::iterator
1208 findOrphanPos(SmallVectorImpl<SectionCommand *>::iterator b, in findOrphanPos()
1209 SmallVectorImpl<SectionCommand *>::iterator e) { in findOrphanPos()
1215 auto i = std::find_if(b, e, [=](SectionCommand *a) { in findOrphanPos()
1225 auto i = std::max_element(b, e, [=](SectionCommand *a, SectionCommand *b) { in findOrphanPos()
1254 auto isOutputSecWithInputSections = [](SectionCommand *cmd) { in findOrphanPos()
1470 for (SectionCommand *b : osec.commands) in sortSection()
1503 for (SectionCommand *cmd : script->sectionCommands) in sortInputSections()
1520 for (SectionCommand *cmd : script->sectionCommands) in sortSections()
1528 [](SectionCommand *cmd) { return isa<OutputDesc>(cmd); }); in sortSections()
1585 auto nonScriptI = std::find_if(i, e, [](SectionCommand *cmd) { in sortOrphanSections()
1599 std::find_if(i, e, [](SectionCommand *cmd) { return !shouldSkip(cmd); }); in sortOrphanSections()
1612 auto end = std::find_if(nonScriptI + 1, e, [=](SectionCommand *cmd) { in sortOrphanSections()
1651 for (SectionCommand *cmd : sec->commands) { in resolveShfLinkOrder()
1767 for (SectionCommand *cmd : script->sectionCommands) in finalizeAddressDependentContent()
1899 for (SectionCommand *cmd : osec->commands) in removeUnusedSyntheticSections()
1920 for (SectionCommand *cmd : script->sectionCommands) in finalizeSections()
2103 for (SectionCommand *cmd : script->sectionCommands) in finalizeSections()