Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DLinkerScript.cpp135 OutputDesc *sec; in createOutputSection()
313 SmallVector<OutputDesc *, 0> moves; in processInsertCommands()
319 return isa<OutputDesc>(subCmd) && in processInsertCommands()
324 moves.push_back(cast<OutputDesc>(*from)); in processInsertCommands()
657 for (OutputDesc *osd : overwriteSections) { in processSectionCommands()
678 for (OutputDesc *osd : overwriteSections) in processSectionCommands()
713 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findByName()
832 SmallVector<OutputDesc *, 0> v; in addOrphanSections()
1182 if (!isa<OutputDesc>(cmd)) in adjustOutputSections()
1184 auto *sec = &cast<OutputDesc>(cmd)->osec; in adjustOutputSections()
[all …]
H A DLinkerScript.h35 struct OutputDesc;
279 llvm::DenseMap<llvm::CachedHashStringRef, OutputDesc *> nameToOutputSection;
315 OutputDesc *createOutputSection(StringRef name, StringRef location);
316 OutputDesc *getOrCreateOutputSection(StringRef name);
378 SmallVector<OutputDesc *, 0> overwriteSections;
H A DOutputSections.h128 struct OutputDesc final : SectionCommand {
130 OutputDesc(StringRef name, uint32_t type, uint64_t flags) in OutputDesc() function
H A DWriter.cpp317 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findSection()
786 auto *osd = dyn_cast<OutputDesc>(cmd); in addSectionSymbols()
1178 auto *osd = dyn_cast<OutputDesc>(b); in getRankProximity()
1230 if (!isa<OutputDesc>(*i)) in findOrphanPos()
1232 auto foundSec = &cast<OutputDesc>(*i)->osec; in findOrphanPos()
1246 auto *curSecDesc = dyn_cast<OutputDesc>(*i); in findOrphanPos()
1255 auto *osd = dyn_cast<OutputDesc>(cmd); in findOrphanPos()
1504 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in sortInputSections()
1521 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in sortSections()
1586 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in sortOrphanSections()
[all …]
H A DScriptParser.cpp95 OutputDesc *readOverlaySectionDescription();
96 OutputDesc *readOutputSectionDescription(StringRef outSec);
554 OutputDesc *osd = readOverlaySectionDescription(); in readOverlay()
576 max = std::max(max, cast<OutputDesc>(cmd)->osec.size); in readOverlay()
613 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in readSections()
632 if (auto *os = dyn_cast<OutputDesc>(cmd)) in readSections()
906 OutputDesc *ScriptParser::readOverlaySectionDescription() { in readOverlaySectionDescription()
907 OutputDesc *osd = script->createOutputSection(next(), getCurrentLocation()); in readOverlaySectionDescription()
922 OutputDesc *ScriptParser::readOutputSectionDescription(StringRef outSec) { in readOutputSectionDescription()
923 OutputDesc *cmd = in readOutputSectionDescription()
H A DMapFile.cpp171 osec = &cast<OutputDesc>(cmd)->osec; in writeMapFile()
H A DICF.cpp573 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in run()
H A DDriver.cpp3032 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in link()
H A DSyntheticSections.cpp2324 if (isa<OutputDesc>(cmd)) in isNeeded()