Home
last modified time | relevance | path

Searched refs:OutputDesc (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/lld/ELF/
H A DLinkerScript.cpp136 OutputDesc *sec; in createOutputSection()
308 SmallVector<OutputDesc *, 0> moves; in processInsertCommands()
314 return isa<OutputDesc>(subCmd) && in processInsertCommands()
319 moves.push_back(cast<OutputDesc>(*from)); in processInsertCommands()
650 for (OutputDesc *osd : overwriteSections) { in processSectionCommands()
671 for (OutputDesc *osd : overwriteSections) in processSectionCommands()
706 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findByName()
825 SmallVector<OutputDesc *, 0> v; in addOrphanSections()
1142 if (!isa<OutputDesc>(cmd)) in adjustOutputSections()
1144 auto *sec = &cast<OutputDesc>(cmd)->osec; in adjustOutputSections()
[all …]
H A DLinkerScript.h35 struct OutputDesc;
271 llvm::DenseMap<llvm::CachedHashStringRef, OutputDesc *> nameToOutputSection;
307 OutputDesc *createOutputSection(StringRef name, StringRef location);
308 OutputDesc *getOrCreateOutputSection(StringRef name);
360 SmallVector<OutputDesc *, 0> overwriteSections;
H A DOutputSections.h124 struct OutputDesc final : SectionCommand {
126 OutputDesc(StringRef name, uint32_t type, uint64_t flags) in OutputDesc() function
H A DWriter.cpp275 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findSection()
722 auto *osd = dyn_cast<OutputDesc>(cmd); in addSectionSymbols()
1134 auto *osd = dyn_cast<OutputDesc>(b); in getRankProximity()
1174 if (!isa<OutputDesc>(*i)) in findOrphanPos()
1176 auto foundSec = &cast<OutputDesc>(*i)->osec; in findOrphanPos()
1190 auto *curSecDesc = dyn_cast<OutputDesc>(*i); in findOrphanPos()
1199 auto *osd = dyn_cast<OutputDesc>(cmd); in findOrphanPos()
1448 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in sortInputSections()
1465 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in sortSections()
1526 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in sortSections()
[all …]
H A DScriptParser.cpp95 OutputDesc *readOverlaySectionDescription();
96 OutputDesc *readOutputSectionDescription(StringRef outSec);
542 OutputDesc *osd = readOverlaySectionDescription(); in readOverlay()
559 max = std::max(max, cast<OutputDesc>(cmd)->osec.size); in readOverlay()
596 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in readSections()
615 if (auto *os = dyn_cast<OutputDesc>(cmd)) in readSections()
887 OutputDesc *ScriptParser::readOverlaySectionDescription() { in readOverlaySectionDescription()
888 OutputDesc *osd = script->createOutputSection(next(), getCurrentLocation()); in readOverlaySectionDescription()
902 OutputDesc *ScriptParser::readOutputSectionDescription(StringRef outSec) { in readOutputSectionDescription()
903 OutputDesc *cmd = script->createOutputSection(outSec, getCurrentLocation()); in readOutputSectionDescription()
H A DMapFile.cpp171 osec = &cast<OutputDesc>(cmd)->osec; in writeMapFile()
H A DICF.cpp571 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in run()
H A DDriver.cpp2779 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in link()
H A DSyntheticSections.cpp2333 if (isa<OutputDesc>(cmd)) in isNeeded()