Home
last modified time | relevance | path

Searched refs:sectionCommands (Results 1 – 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/lld/ELF/
HDLinkerScript.cpp217 getSymbolAssignmentValues(const std::vector<BaseCommand *> &sectionCommands) { in getSymbolAssignmentValues() argument
219 for (BaseCommand *base : sectionCommands) { in getSymbolAssignmentValues()
226 for (BaseCommand *sub_base : cast<OutputSection>(base)->sectionCommands) in getSymbolAssignmentValues()
258 for (BaseCommand *base : sectionCommands) { in processInsertCommands()
274 sectionCommands = std::move(v); in processInsertCommands()
282 for (BaseCommand *base : sectionCommands) { in declareSymbols()
295 for (BaseCommand *base2 : sec->sectionCommands) in declareSymbols()
466 for (BaseCommand *base : outCmd.sectionCommands) { in createInputSectionList()
480 for (BaseCommand *base : sectionCommands) { in processSectionCommands()
489 sec->sectionCommands.clear(); in processSectionCommands()
[all …]
HDOutputSections.cpp97 if (sectionCommands.empty() || in recordSection()
98 !isa<InputSectionDescription>(sectionCommands.back())) in recordSection()
99 sectionCommands.push_back(make<InputSectionDescription>("")); in recordSection()
100 auto *isd = cast<InputSectionDescription>(sectionCommands.back()); in recordSection()
163 for (BaseCommand *base : sectionCommands) { in finalizeInputSections()
240 for (BaseCommand *b : sectionCommands) in sort()
339 for (BaseCommand *base : sectionCommands) in writeTo()
451 assert(sectionCommands.size() == 1); in sortCtorsDtors()
452 auto *isd = cast<InputSectionDescription>(sectionCommands[0]); in sortCtorsDtors()
471 for (BaseCommand *base : os->sectionCommands) in getInputSections()
HDWriter.cpp304 for (BaseCommand *base : script->sectionCommands) in findSection()
712 for (BaseCommand *base : script->sectionCommands) { in addSectionSymbols()
716 auto i = llvm::find_if(sec->sectionCommands, [](BaseCommand *base) { in addSectionSymbols()
721 if (i == sec->sectionCommands.end()) in addSectionSymbols()
1361 assert(sec->sectionCommands.size() == 1); in sortSection()
1362 auto *isd = cast<InputSectionDescription>(sec->sectionCommands[0]); in sortSection()
1374 for (BaseCommand *b : sec->sectionCommands) in sortSection()
1384 for (BaseCommand *base : script->sectionCommands) in sortInputSections()
1399 for (BaseCommand *base : script->sectionCommands) { in sortSections()
1417 llvm::find_if(script->sectionCommands, isSection), in sortSections()
[all …]
HDScriptParser.cpp261 script->sectionCommands.push_back(cmd); in readLinkerScript()
275 script->sectionCommands.push_back(cmd); in readDefsym()
561 script->sectionCommands.insert(script->sectionCommands.end(), v.begin(), in readSections()
786 cmd->sectionCommands.push_back(readInputSectionRules(next())); in readOverlaySectionDescription()
821 cmd->sectionCommands.push_back(assign); in readOutputSectionDescription()
823 cmd->sectionCommands.push_back(data); in readOutputSectionDescription()
840 cmd->sectionCommands.push_back(readInputSectionDescription(tok)); in readOutputSectionDescription()
847 cmd->sectionCommands.push_back(isd); in readOutputSectionDescription()
HDMapFile.cpp164 for (BaseCommand *base : script->sectionCommands) { in writeMapFile()
179 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile()
HDRelocations.cpp69 for (BaseCommand *base : script->sectionCommands) in getLinkerScriptLocation()
573 if (osec->sectionCommands.empty() || in addCopyRelSymbol()
574 !isa<InputSectionDescription>(osec->sectionCommands.back())) in addCopyRelSymbol()
575 osec->sectionCommands.push_back(make<InputSectionDescription>("")); in addCopyRelSymbol()
576 auto *isd = cast<InputSectionDescription>(osec->sectionCommands.back()); in addCopyRelSymbol()
1520 for (BaseCommand *bc : os->sectionCommands) in forEachInputSectionDescription()
1692 for (BaseCommand *bc : tos->sectionCommands) { in getISThunkSec()
HDOutputSections.h85 std::vector<BaseCommand *> sectionCommands; variable
HDICF.cpp519 for (BaseCommand *base : script->sectionCommands) in run()
521 for (BaseCommand *sub_base : sec->sectionCommands) in run()
HDLinkerScript.h290 std::vector<BaseCommand *> sectionCommands; variable
HDAArch64ErrataFix.cpp636 for (BaseCommand *bc : os->sectionCommands) in createFixes()
HDARMErrataFix.cpp518 for (BaseCommand *bc : os->sectionCommands) in createFixes()
HDSyntheticSections.cpp859 for (BaseCommand *cmd : os->sectionCommands) { in build()
2225 for (BaseCommand *base : script->sectionCommands) in isNeeded()
3513 for (BaseCommand *base : getParent()->sectionCommands) in isNeeded()
3527 for (BaseCommand *base : getParent()->sectionCommands) in finalizeContents()
HDDriver.cpp1999 for (BaseCommand *base : script->sectionCommands) in link()