Searched refs:SectionCommand (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | LinkerScript.h | 82 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 D | OutputSections.h | 85 SmallVector<SectionCommand *, 0> commands; 124 struct OutputDesc final : SectionCommand { 127 : SectionCommand(OutputSectionKind), osec(name, type, flags) {} in OutputDesc() 129 static bool classof(const SectionCommand *c) { in classof()
|
| H A D | LinkerScript.cpp | 275 for (SectionCommand *cmd : sectionCommands) { in getSymbolAssignmentValues() 345 for (SectionCommand *cmd : sectionCommands) { in declareSymbols() 358 for (SectionCommand *cmd : sec.commands) in declareSymbols() 579 for (SectionCommand *cmd : outCmd.commands) in discardSynthetic() 590 for (SectionCommand *cmd : outCmd.commands) { in createInputSectionList() 656 for (SectionCommand *&base : sectionCommands) in processSectionCommands() 691 for (SectionCommand *cmd : sectionCommands) { in processSymbolAssignments() 705 for (SectionCommand *cmd : vec) in findByName() 1026 for (SectionCommand *cmd : sec->commands) { in assignOffsets() 1087 for (SectionCommand *cmd : sec.commands) { in isDiscardable() [all …]
|
| H A D | Writer.cpp | 274 for (SectionCommand *cmd : script->sectionCommands) in findSection() 729 for (SectionCommand *cmd : osec.commands) { in addSectionSymbols() 1154 static bool shouldSkip(SectionCommand *cmd) { in shouldSkip() 1163 static SmallVectorImpl<SectionCommand *>::iterator 1169 auto i = std::max_element(b, e, [=](SectionCommand *a, SectionCommand *b) { in findOrphanPos() 1414 for (SectionCommand *b : osec.commands) in sortSection() 1447 for (SectionCommand *cmd : script->sectionCommands) in sortInputSections() 1464 for (SectionCommand *cmd : script->sectionCommands) in sortSections() 1593 for (SectionCommand *cmd : sec->commands) { in resolveShfLinkOrder() 1706 for (SectionCommand *cmd : script->sectionCommands) in finalizeAddressDependentContent() [all …]
|
| H A D | OutputSections.cpp | 183 for (SectionCommand *cmd : commands) { in finalizeInputSections() 256 for (SectionCommand *b : commands) in sort() 454 for (SectionCommand *cmd : commands) in writeTo() 589 for (SectionCommand *cmd : os->commands) in getFirstInputSection() 601 for (SectionCommand *cmd : os.commands) { in getInputSections()
|
| H A D | ScriptParser.cpp | 97 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 D | MapFile.cpp | 161 for (SectionCommand *cmd : script->sectionCommands) { in writeMapFile() 176 for (SectionCommand *subCmd : osec->commands) { in writeMapFile()
|
| H A D | ICF.cpp | 570 for (SectionCommand *cmd : script->sectionCommands) in run() 572 for (SectionCommand *subCmd : osd->osec.commands) in run()
|
| H A D | ARMErrataFix.cpp | 525 for (SectionCommand *cmd : os->commands) in createFixes()
|
| H A D | AArch64ErrataFix.cpp | 631 for (SectionCommand *cmd : os->commands) in createFixes()
|
| H A D | Relocations.cpp | 68 for (SectionCommand *cmd : script->sectionCommands) in getLinkerScriptLocation() 1735 for (SectionCommand *bc : os->commands) in forEachInputSectionDescription() 1927 for (SectionCommand *bc : tos->commands) { in getISThunkSec()
|
| H A D | SyntheticSections.cpp | 922 for (SectionCommand *cmd : os->commands) { in build() 2332 for (SectionCommand *cmd : script->sectionCommands) in isNeeded() 3635 for (SectionCommand *cmd : getParent()->commands) in isNeeded() 3648 for (SectionCommand *cmd : getParent()->commands) in finalizeContents()
|
| H A D | Driver.cpp | 2778 for (SectionCommand *cmd : script->sectionCommands) in link()
|