Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/ELF/
H A DLinkerScript.h84 struct SectionCommand { struct
85 SectionCommand(int k) : kind(k) {} in SectionCommand() argument
90 struct SymbolAssignment : SectionCommand { argument
92 : SectionCommand(AssignmentKind), name(name), expression(e), in SymbolAssignment()
95 static bool classof(const SectionCommand *c) { in classof()
193 class InputSectionDescription : public SectionCommand {
202 : SectionCommand(InputSectionKind), filePat(filePattern), in SectionCommand() function
205 static bool classof(const SectionCommand *c) { in classof()
234 struct ByteCommand : SectionCommand {
236 : SectionCommand(ByteKind), commandString(commandString), expression(e), in ByteCommand()
[all …]
H A DOutputSections.h92 SmallVector<SectionCommand *, 0> commands;
136 struct OutputDesc final : SectionCommand {
139 : SectionCommand(OutputSectionKind), osec(name, type, flags) {} in OutputDesc()
141 static bool classof(const SectionCommand *c) { in classof()
H A DLinkerScript.cpp271 getSymbolAssignmentValues(ArrayRef<SectionCommand *> sectionCommands) { in getSymbolAssignmentValues()
273 for (SectionCommand *cmd : sectionCommands) { in getSymbolAssignmentValues()
280 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()
631 for (SectionCommand *cmd : outCmd.commands) in discardSynthetic()
642 for (SectionCommand *cmd : outCmd.commands) { in createInputSectionList()
711 for (SectionCommand *&base : sectionCommands) in processSectionCommands()
[all …]
H A DWriter.cpp296 for (SectionCommand *cmd : script->sectionCommands) in findSection()
499 for (SectionCommand *cmd : script->sectionCommands) { in addSectionSymbols()
507 for (SectionCommand *cmd : osec.commands) { in addSectionSymbols()
766 static bool compareSections(const SectionCommand *aCmd, in compareSections()
767 const SectionCommand *bCmd) { in compareSections()
904 static int getRankProximity(OutputSection *a, SectionCommand *b) { in getRankProximity()
925 static bool shouldSkip(SectionCommand *cmd) { in shouldSkip()
934 static SmallVectorImpl<SectionCommand *>::iterator
935 findOrphanPos(SmallVectorImpl<SectionCommand *>::iterator b, in findOrphanPos()
936 SmallVectorImpl<SectionCommand *>::iterator e) { in findOrphanPos()
[all …]
H A DScriptParser.cpp99 SmallVector<SectionCommand *, 0> readOverlay();
566 SmallVector<SectionCommand *, 0> ScriptParser::readOverlay() { in readOverlay()
580 SmallVector<SectionCommand *, 0> v; in readOverlay()
606 for (SectionCommand *cmd : v) in readOverlay()
622 SmallVector<SectionCommand *, 0> v; in readSections()
626 for (SectionCommand *cmd : readOverlay()) in readSections()
634 if (SectionCommand *cmd = readAssignment(tok)) in readSections()
643 for (SectionCommand *cmd : v) in readSections()
662 for (SectionCommand *cmd : v) in readSections()
H A DMapFile.cpp161 for (SectionCommand *cmd : script->sectionCommands) { in writeMapFile()
176 for (SectionCommand *subCmd : osec->commands) { in writeMapFile()
H A DOutputSections.cpp202 for (SectionCommand *cmd : commands) { in finalizeInputSections()
280 for (SectionCommand *b : commands) in sort()
567 for (SectionCommand *cmd : commands) in writeTo()
828 for (SectionCommand *cmd : os->commands) in getFirstInputSection()
840 for (SectionCommand *cmd : os.commands) { in getInputSections()
H A DICF.cpp580 for (SectionCommand *cmd : script->sectionCommands) in run()
582 for (SectionCommand *subCmd : osd->osec.commands) in run()
H A DRelocations.cpp69 for (SectionCommand *cmd : script->sectionCommands) in getLinkerScriptLocation()
1908 for (SectionCommand *bc : os->commands) in forEachInputSectionDescription()
2100 for (SectionCommand *bc : tos->commands) { in getISThunkSec()
2438 for (SectionCommand *cmd : osec->commands) { in checkNoCrossRefs()
H A DAArch64ErrataFix.cpp631 for (SectionCommand *cmd : os->commands) in createFixes()
H A DARMErrataFix.cpp524 for (SectionCommand *cmd : os->commands) in createFixes()
H A DSyntheticSections.cpp925 for (SectionCommand *cmd : os->commands) { in build()
2344 for (SectionCommand *cmd : script->sectionCommands) in isNeeded()
4262 for (SectionCommand *cmd : getParent()->commands) in isNeeded()
4275 for (SectionCommand *cmd : getParent()->commands) in finalizeContents()
4629 for (SectionCommand *cmd : script->sectionCommands) in findSection()
H A DDriver.cpp3167 for (SectionCommand *cmd : script->sectionCommands) in link()