Searched refs:SectionCommand (Results 1 – 13 of 13) sorted by relevance
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | LinkerScript.h | 87 struct SectionCommand { struct 88 SectionCommand(int k) : kind(k) {} in SectionCommand() argument 93 struct SymbolAssignment : SectionCommand { argument 95 : SectionCommand(AssignmentKind), name(name), expression(e), in SymbolAssignment() 98 static bool classof(const SectionCommand *c) { in classof() 196 class InputSectionDescription : public SectionCommand { 206 : SectionCommand(InputSectionKind), matchType(MatchType::Trivial), in SectionCommand() function 226 static bool classof(const SectionCommand *c) { in classof() 259 struct ByteCommand : SectionCommand { 261 : SectionCommand(ByteKind), commandString(commandString), expression(e), in ByteCommand() [all …]
|
| H A D | OutputSections.h | 93 SmallVector<SectionCommand *, 0> commands; 138 struct OutputDesc final : SectionCommand { 141 : SectionCommand(OutputSectionKind), osec(ctx, name, type, flags) {} in OutputDesc() 143 static bool classof(const SectionCommand *c) { in classof() 160 struct SectionClassDesc : SectionCommand { 163 SectionClassDesc(StringRef name) : SectionCommand(ClassKind), sc(name) {} in SectionClassDesc() 165 static bool classof(const SectionCommand *c) { return c->kind == ClassKind; } in classof()
|
| H A D | LinkerScript.cpp | 292 getSymbolAssignmentValues(ArrayRef<SectionCommand *> sectionCommands) { in getSymbolAssignmentValues() 294 for (SectionCommand *cmd : sectionCommands) { in getSymbolAssignmentValues() 303 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in getSymbolAssignmentValues() 338 auto from = llvm::find_if(sectionCommands, [&](SectionCommand *subCmd) { in processInsertCommands() 349 llvm::find_if(sectionCommands, [&cmd](SectionCommand *subCmd) { in processInsertCommands() 370 for (SectionCommand *cmd : sectionCommands) { in declareSymbols() 385 for (SectionCommand *cmd : sec.commands) in declareSymbols() 696 for (SectionCommand *cmd : outCmd.commands) in discardSynthetic() 707 for (SectionCommand *cmd : outCmd.commands) { in createInputSectionList() 776 for (SectionCommand *&base : sectionCommands) { in processSectionCommands() [all …]
|
| H A D | Writer.cpp | 310 for (SectionCommand *cmd : ctx.script->sectionCommands) in findSection() 517 for (SectionCommand *cmd : ctx.script->sectionCommands) { in addSectionSymbols() 525 for (SectionCommand *cmd : osec.commands) { in addSectionSymbols() 793 static bool compareSections(Ctx &ctx, const SectionCommand *aCmd, in compareSections() 794 const SectionCommand *bCmd) { in compareSections() 936 static int getRankProximity(OutputSection *a, SectionCommand *b) { in getRankProximity() 957 static bool shouldSkip(SectionCommand *cmd) { in shouldSkip() 966 static SmallVectorImpl<SectionCommand *>::iterator 967 findOrphanPos(Ctx &ctx, SmallVectorImpl<SectionCommand *>::iterator b, in findOrphanPos() 968 SmallVectorImpl<SectionCommand *>::iterator e) { in findOrphanPos() [all …]
|
| H A D | ScriptParser.cpp | 86 SmallVector<SectionCommand *, 0> readOverlay(); 560 SmallVector<SectionCommand *, 0> ScriptParser::readOverlay() { in readOverlay() 570 SmallVector<SectionCommand *, 0> v; in readOverlay() 593 for (SectionCommand *od : v) in readOverlay() 599 for (SectionCommand *od : v) in readOverlay() 610 for (SectionCommand *cmd : v) in readOverlay() 654 SmallVector<SectionCommand *, 0> v; in readSections() 657 for (SectionCommand *cmd : readOverlay()) in readSections() 670 if (SectionCommand *cmd = readAssignment(tok)) in readSections() 679 for (SectionCommand *cmd : v) in readSections() [all …]
|
| H A D | MapFile.cpp | 162 for (SectionCommand *cmd : ctx.script->sectionCommands) { in writeMapFile() 180 for (SectionCommand *subCmd : osec->commands) { in writeMapFile()
|
| H A D | OutputSections.cpp | 207 for (SectionCommand *cmd : commands) { in finalizeInputSections() 297 for (SectionCommand *b : commands) in sort() 584 for (SectionCommand *cmd : commands) in writeTo() 851 for (SectionCommand *cmd : os->commands) in getFirstInputSection() 863 for (SectionCommand *cmd : os.commands) { in getInputSections()
|
| H A D | ICF.cpp | 574 for (SectionCommand *cmd : ctx.script->sectionCommands) in run() 576 for (SectionCommand *subCmd : osd->osec.commands) in run()
|
| H A D | AArch64ErrataFix.cpp | 630 for (SectionCommand *cmd : os->commands) in createFixes()
|
| H A D | ARMErrataFix.cpp | 531 for (SectionCommand *cmd : os->commands) in createFixes()
|
| H A D | Relocations.cpp | 2005 for (SectionCommand *bc : os->commands) in forEachInputSectionDescription() 2227 for (SectionCommand *bc : tos->commands) { in getISThunkSec() 2602 for (SectionCommand *cmd : osec->commands) { in checkNoCrossRefs()
|
| H A D | SyntheticSections.cpp | 973 for (SectionCommand *cmd : os->commands) { in build() 2407 for (SectionCommand *cmd : ctx.script->sectionCommands) in isNeeded() 4361 for (SectionCommand *cmd : getParent()->commands) in isNeeded() 4374 for (SectionCommand *cmd : getParent()->commands) in finalizeContents() 4702 for (SectionCommand *cmd : ctx.script->sectionCommands) in findSection()
|
| H A D | Driver.cpp | 3477 for (SectionCommand *cmd : ctx.script->sectionCommands) in link()
|