Home
last modified time | relevance | path

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

/external/llvm-project/lld/ELF/
DLinkerScript.cpp219 getSymbolAssignmentValues(const std::vector<BaseCommand *> &sectionCommands) { in getSymbolAssignmentValues() argument
221 for (BaseCommand *base : sectionCommands) { in getSymbolAssignmentValues()
228 for (BaseCommand *sub_base : cast<OutputSection>(base)->sectionCommands) in getSymbolAssignmentValues()
257 auto from = llvm::find(sectionCommands, cmd.os); in processInsertCommands()
258 if (from == sectionCommands.end()) in processInsertCommands()
260 sectionCommands.erase(from); in processInsertCommands()
262 auto insertPos = llvm::find_if(sectionCommands, [&cmd](BaseCommand *base) { in processInsertCommands()
266 if (insertPos == sectionCommands.end()) { in processInsertCommands()
272 sectionCommands.insert(insertPos, cmd.os); in processInsertCommands()
282 for (BaseCommand *base : sectionCommands) { in declareSymbols()
[all …]
DOutputSections.cpp103 if (sectionCommands.empty() || in recordSection()
104 !isa<InputSectionDescription>(sectionCommands.back())) in recordSection()
105 sectionCommands.push_back(make<InputSectionDescription>("")); in recordSection()
106 auto *isd = cast<InputSectionDescription>(sectionCommands.back()); in recordSection()
169 for (BaseCommand *base : sectionCommands) { in finalizeInputSections()
246 for (BaseCommand *b : sectionCommands) in sort()
370 for (BaseCommand *base : sectionCommands) in writeTo()
484 assert(sectionCommands.size() == 1); in sortCtorsDtors()
485 auto *isd = cast<InputSectionDescription>(sectionCommands[0]); in sortCtorsDtors()
504 for (BaseCommand *base : os->sectionCommands) in getFirstInputSection()
[all …]
DWriter.cpp336 for (BaseCommand *base : script->sectionCommands) in findSection()
796 for (BaseCommand *base : script->sectionCommands) { in addSectionSymbols()
800 auto i = llvm::find_if(sec->sectionCommands, [](BaseCommand *base) { in addSectionSymbols()
805 if (i == sec->sectionCommands.end()) in addSectionSymbols()
1462 for (BaseCommand *b : sec->sectionCommands) in sortSection()
1489 assert(sec->sectionCommands.size() == 1); in sortSection()
1490 auto *isd = cast<InputSectionDescription>(sec->sectionCommands[0]); in sortSection()
1506 for (BaseCommand *base : script->sectionCommands) in sortInputSections()
1522 for (BaseCommand *base : script->sectionCommands) { in sortSections()
1540 llvm::find_if(script->sectionCommands, isSection), in sortSections()
[all …]
DScriptParser.cpp267 script->sectionCommands.push_back(cmd); in readLinkerScript()
281 script->sectionCommands.push_back(cmd); in readDefsym()
565 script->sectionCommands.insert(script->sectionCommands.end(), v.begin(), in readSections()
828 cmd->sectionCommands.push_back( in readOverlaySectionDescription()
864 cmd->sectionCommands.push_back(assign); in readOutputSectionDescription()
866 cmd->sectionCommands.push_back(data); in readOutputSectionDescription()
883 cmd->sectionCommands.push_back(readInputSectionDescription(tok)); in readOutputSectionDescription()
893 cmd->sectionCommands.push_back(isd); in readOutputSectionDescription()
DMapFile.cpp167 for (BaseCommand *base : script->sectionCommands) { in writeMapFile()
182 for (BaseCommand *base : osec->sectionCommands) { in writeMapFile()
DOutputSections.h85 std::vector<BaseCommand *> sectionCommands; variable
DRelocations.cpp69 for (BaseCommand *base : script->sectionCommands) in getLinkerScriptLocation()
603 if (osec->sectionCommands.empty() || in addCopyRelSymbol()
604 !isa<InputSectionDescription>(osec->sectionCommands.back())) in addCopyRelSymbol()
605 osec->sectionCommands.push_back(make<InputSectionDescription>("")); in addCopyRelSymbol()
606 auto *isd = cast<InputSectionDescription>(osec->sectionCommands.back()); in addCopyRelSymbol()
1588 for (BaseCommand *bc : os->sectionCommands) in forEachInputSectionDescription()
1760 for (BaseCommand *bc : tos->sectionCommands) { in getISThunkSec()
DICF.cpp552 for (BaseCommand *base : script->sectionCommands) in run()
554 for (BaseCommand *sub_base : sec->sectionCommands) in run()
DLinkerScript.h324 std::vector<BaseCommand *> sectionCommands; variable
DARMErrataFix.cpp515 for (BaseCommand *bc : os->sectionCommands) in createFixes()
DAArch64ErrataFix.cpp633 for (BaseCommand *bc : os->sectionCommands) in createFixes()
DSyntheticSections.cpp903 for (BaseCommand *cmd : os->sectionCommands) { in build()
2272 for (BaseCommand *base : script->sectionCommands) in isNeeded()
3581 for (BaseCommand *base : getParent()->sectionCommands) in isNeeded()
3595 for (BaseCommand *base : getParent()->sectionCommands) in finalizeContents()
DDriver.cpp2326 for (BaseCommand *base : script->sectionCommands) in link()