Home
last modified time | relevance | path

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

/openbsd/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.cpp276 for (SectionCommand *cmd : sectionCommands) { in getSymbolAssignmentValues()
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()
692 for (SectionCommand *cmd : sectionCommands) { in processSymbolAssignments()
706 for (SectionCommand *cmd : vec) in findByName()
1040 for (SectionCommand *cmd : sec->commands) { in assignOffsets()
1101 for (SectionCommand *cmd : sec.commands) { in isDiscardable()
[all …]
H A DWriter.cpp255 for (SectionCommand *cmd : script->sectionCommands) in findSection()
718 for (SectionCommand *cmd : osec.commands) { in addSectionSymbols()
1146 static bool shouldSkip(SectionCommand *cmd) { in shouldSkip()
1155 static SmallVectorImpl<SectionCommand *>::iterator
1161 auto i = std::max_element(b, e, [=](SectionCommand *a, SectionCommand *b) { in findOrphanPos()
1406 for (SectionCommand *b : osec.commands) in sortSection()
1439 for (SectionCommand *cmd : script->sectionCommands) in sortInputSections()
1456 for (SectionCommand *cmd : script->sectionCommands) in sortSections()
1585 for (SectionCommand *cmd : sec->commands) { in resolveShfLinkOrder()
1698 for (SectionCommand *cmd : script->sectionCommands) in finalizeAddressDependentContent()
[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 DRelocations.cpp68 for (SectionCommand *cmd : script->sectionCommands) in getLinkerScriptLocation()
1790 for (SectionCommand *bc : os->commands) in forEachInputSectionDescription()
1982 for (SectionCommand *bc : tos->commands) { in getISThunkSec()
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()