Home
last modified time | relevance | path

Searched refs:SectionCommand (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/gnu/llvm/lld/ELF/
H A DLinkerScript.h82 struct SectionCommand { struct
83 SectionCommand(int k) : kind(k) {} in SectionCommand() argument
88 struct SymbolAssignment : SectionCommand { argument
90 : SectionCommand(AssignmentKind), name(name), expression(e), in SymbolAssignment()
93 static bool classof(const SectionCommand *c) { in classof()
183 class InputSectionDescription : public SectionCommand {
192 : SectionCommand(InputSectionKind), filePat(filePattern), in SectionCommand() function
195 static bool classof(const SectionCommand *c) { in classof()
224 struct ByteCommand : SectionCommand {
226 : SectionCommand(ByteKind), commandString(commandString), expression(e), in ByteCommand()
[all …]
H A DOutputSections.h86 SmallVector<SectionCommand *, 0> commands;
128 struct OutputDesc final : SectionCommand {
131 : SectionCommand(OutputSectionKind), osec(name, type, flags) {} in OutputDesc()
133 static bool classof(const SectionCommand *c) { in classof()
H A DLinkerScript.cpp274 getSymbolAssignmentValues(ArrayRef<SectionCommand *> sectionCommands) { in getSymbolAssignmentValues()
276 for (SectionCommand *cmd : sectionCommands) { in getSymbolAssignmentValues()
283 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in getSymbolAssignmentValues()
314 auto from = llvm::find_if(sectionCommands, [&](SectionCommand *subCmd) { in processInsertCommands()
325 llvm::find_if(sectionCommands, [&cmd](SectionCommand *subCmd) { in processInsertCommands()
346 for (SectionCommand *cmd : sectionCommands) { in declareSymbols()
359 for (SectionCommand *cmd : sec.commands) in declareSymbols()
580 for (SectionCommand *cmd : outCmd.commands) in discardSynthetic()
591 for (SectionCommand *cmd : outCmd.commands) { in createInputSectionList()
657 for (SectionCommand *&base : sectionCommands) in processSectionCommands()
[all …]
H A DWriter.cpp255 for (SectionCommand *cmd : script->sectionCommands) in findSection()
710 for (SectionCommand *cmd : script->sectionCommands) { in addSectionSymbols()
718 for (SectionCommand *cmd : osec.commands) { in addSectionSymbols()
988 static bool compareSections(const SectionCommand *aCmd, in compareSections()
989 const SectionCommand *bCmd) { in compareSections()
1125 static int getRankProximity(OutputSection *a, SectionCommand *b) { in getRankProximity()
1146 static bool shouldSkip(SectionCommand *cmd) { in shouldSkip()
1155 static SmallVectorImpl<SectionCommand *>::iterator
1156 findOrphanPos(SmallVectorImpl<SectionCommand *>::iterator b, in findOrphanPos()
1157 SmallVectorImpl<SectionCommand *>::iterator e) { in findOrphanPos()
[all …]
H A DScriptParser.cpp97 SmallVector<SectionCommand *, 0> readOverlay();
527 SmallVector<SectionCommand *, 0> ScriptParser::readOverlay() { in readOverlay()
537 SmallVector<SectionCommand *, 0> v; in readOverlay()
558 for (SectionCommand *cmd : v) in readOverlay()
574 SmallVector<SectionCommand *, 0> v; in readSections()
578 for (SectionCommand *cmd : readOverlay()) in readSections()
586 if (SectionCommand *cmd = readAssignment(tok)) in readSections()
595 for (SectionCommand *cmd : v) in readSections()
614 for (SectionCommand *cmd : v) in readSections()
H A DOutputSections.cpp187 for (SectionCommand *cmd : commands) { in finalizeInputSections()
260 for (SectionCommand *b : commands) in sort()
519 for (SectionCommand *cmd : commands) in writeTo()
676 for (SectionCommand *cmd : os->commands) in getFirstInputSection()
688 for (SectionCommand *cmd : os.commands) { in getInputSections()
H A DMapFile.cpp161 for (SectionCommand *cmd : script->sectionCommands) { in writeMapFile()
176 for (SectionCommand *subCmd : osec->commands) { in writeMapFile()
H A DICF.cpp572 for (SectionCommand *cmd : script->sectionCommands) in run()
574 for (SectionCommand *subCmd : osd->osec.commands) in run()
H A DAArch64ErrataFix.cpp630 for (SectionCommand *cmd : os->commands) in createFixes()
H A DARMErrataFix.cpp524 for (SectionCommand *cmd : os->commands) in createFixes()
H A DSyntheticSections.cpp890 for (SectionCommand *cmd : os->commands) { in build()
2296 for (SectionCommand *cmd : script->sectionCommands) in isNeeded()
3614 for (SectionCommand *cmd : getParent()->commands) in isNeeded()
3627 for (SectionCommand *cmd : getParent()->commands) in finalizeContents()
H A DDriver.cpp2894 for (SectionCommand *cmd : script->sectionCommands) in link()