Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/lld/ELF/
DLinkerScript.cpp134 OutputDesc *LinkerScript::createOutputSection(StringRef name, in createOutputSection()
136 OutputDesc *&secRef = nameToOutputSection[CachedHashStringRef(name)]; in createOutputSection()
137 OutputDesc *sec; in createOutputSection()
142 sec = make<OutputDesc>(name, SHT_PROGBITS, 0); in createOutputSection()
150 OutputDesc *LinkerScript::getOrCreateOutputSection(StringRef name) { in getOrCreateOutputSection()
151 OutputDesc *&cmdRef = nameToOutputSection[CachedHashStringRef(name)]; in getOrCreateOutputSection()
153 cmdRef = make<OutputDesc>(name, SHT_PROGBITS, 0); in getOrCreateOutputSection()
283 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in getSymbolAssignmentValues()
309 SmallVector<OutputDesc *, 0> moves; in processInsertCommands()
315 return isa<OutputDesc>(subCmd) && in processInsertCommands()
[all …]
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;
DOutputSections.h128 struct OutputDesc final : SectionCommand {
130 OutputDesc(StringRef name, uint32_t type, uint64_t flags) in OutputDesc() function
DWriter.cpp256 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findSection()
711 auto *osd = dyn_cast<OutputDesc>(cmd); in addSectionSymbols()
990 const OutputSection *a = &cast<OutputDesc>(aCmd)->osec; in compareSections()
991 const OutputSection *b = &cast<OutputDesc>(bCmd)->osec; in compareSections()
1126 auto *osd = dyn_cast<OutputDesc>(b); in getRankProximity()
1158 OutputSection *sec = &cast<OutputDesc>(*e)->osec; in findOrphanPos()
1166 if (!isa<OutputDesc>(*i)) in findOrphanPos()
1168 auto foundSec = &cast<OutputDesc>(*i)->osec; in findOrphanPos()
1182 auto *curSecDesc = dyn_cast<OutputDesc>(*i); in findOrphanPos()
1191 auto *osd = dyn_cast<OutputDesc>(cmd); in findOrphanPos()
[all …]
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()
DMapFile.cpp171 osec = &cast<OutputDesc>(cmd)->osec; in writeMapFile()
DICF.cpp573 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in run()
DDriver.cpp2895 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in link()
DSyntheticSections.cpp2297 if (isa<OutputDesc>(cmd)) in isNeeded()