Searched refs:OutputDesc (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | LinkerScript.cpp | 134 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() 280 for (SectionCommand *subCmd : cast<OutputDesc>(cmd)->osec.commands) in getSymbolAssignmentValues() 306 SmallVector<OutputDesc *, 0> moves; in processInsertCommands() 315 return isa<OutputDesc>(subCmd) && in processInsertCommands() [all …]
|
H A D | LinkerScript.h | 37 struct OutputDesc; 291 llvm::DenseMap<llvm::CachedHashStringRef, OutputDesc *> nameToOutputSection; 328 OutputDesc *createOutputSection(StringRef name, StringRef location); 329 OutputDesc *getOrCreateOutputSection(StringRef name); 408 SmallVector<OutputDesc *, 0> overwriteSections;
|
H A D | OutputSections.h | 136 struct OutputDesc final : SectionCommand { 138 OutputDesc(StringRef name, uint32_t type, uint64_t flags) in OutputDesc() function
|
H A D | Writer.cpp | 297 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findSection() 500 auto *osd = dyn_cast<OutputDesc>(cmd); in addSectionSymbols() 768 const OutputSection *a = &cast<OutputDesc>(aCmd)->osec; in compareSections() 769 const OutputSection *b = &cast<OutputDesc>(bCmd)->osec; in compareSections() 905 auto *osd = dyn_cast<OutputDesc>(b); in getRankProximity() 939 OutputSection *sec = &cast<OutputDesc>(*e)->osec; in findOrphanPos() 966 (p == maxP && cast<OutputDesc>(*j)->osec.sortRank <= sec->sortRank)) { in findOrphanPos() 975 auto *osd = dyn_cast<OutputDesc>(cmd); in findOrphanPos() 988 if (cast<OutputDesc>(*i)->osec.sortRank <= sec->sortRank || mustAfter) { in findOrphanPos() 1234 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in sortInputSections() [all …]
|
H A D | ScriptParser.cpp | 97 OutputDesc *readOverlaySectionDescription(); 98 OutputDesc *readOutputSectionDescription(StringRef outSec); 585 OutputDesc *osd = readOverlaySectionDescription(); in readOverlay() 607 max = std::max(max, cast<OutputDesc>(cmd)->osec.size); in readOverlay() 644 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in readSections() 663 if (auto *os = dyn_cast<OutputDesc>(cmd)) in readSections() 949 OutputDesc *ScriptParser::readOverlaySectionDescription() { in readOverlaySectionDescription() 950 OutputDesc *osd = script->createOutputSection(next(), getCurrentLocation()); in readOverlaySectionDescription() 965 OutputDesc *ScriptParser::readOutputSectionDescription(StringRef outSec) { in readOutputSectionDescription() 966 OutputDesc *cmd = in readOutputSectionDescription()
|
H A D | MapFile.cpp | 171 osec = &cast<OutputDesc>(cmd)->osec; in writeMapFile()
|
H A D | ICF.cpp | 581 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in run()
|
H A D | SyntheticSections.cpp | 2345 if (isa<OutputDesc>(cmd)) in isNeeded() 4630 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in findSection()
|
H A D | Driver.cpp | 3168 if (auto *osd = dyn_cast<OutputDesc>(cmd)) in link()
|