Lines Matching refs:OutputSection

85 static std::vector<OutputSection *> outputSections;
87 OutputSection *Chunk::getOutputSection() const { in getOutputSection()
91 void OutputSection::clear() { outputSections.clear(); } in clear()
110 OutputSection *os = c->getOutputSection(); in writeTo()
251 OutputSection *findSection(StringRef name);
283 OutputSection *textSec;
284 OutputSection *rdataSec;
285 OutputSection *buildidSec;
286 OutputSection *dataSec;
287 OutputSection *pdataSec;
288 OutputSection *idataSec;
289 OutputSection *edataSec;
290 OutputSection *didatSec;
291 OutputSection *rsrcSec;
292 OutputSection *relocSec;
293 OutputSection *ctorsSec;
294 OutputSection *dtorsSec;
315 void OutputSection::addChunk(Chunk *c) { in addChunk()
319 void OutputSection::insertChunkAtStart(Chunk *c) { in insertChunkAtStart()
323 void OutputSection::setPermissions(uint32_t c) { in setPermissions()
328 void OutputSection::merge(OutputSection *other) { in merge()
337 void OutputSection::writeHeaderTo(uint8_t *buf) { in writeHeaderTo()
351 void OutputSection::addContributingPartialSection(PartialSection *sec) { in addContributingPartialSection()
421 static bool createThunks(OutputSection *os, int margin) { in createThunks()
552 for (OutputSection *sec : outputSections) { in finalizeAddresses()
564 for (OutputSection *sec : outputSections) { in finalizeAddresses()
585 for (OutputSection *sec : outputSections) in finalizeAddresses()
593 for (OutputSection *sec : outputSections) in finalizeAddresses()
841 SmallDenseMap<std::pair<StringRef, uint32_t>, OutputSection *> sections; in createSections()
843 OutputSection *&sec = sections[{name, outChars}]; in createSections()
845 sec = make<OutputSection>(name, outChars); in createSections()
923 OutputSection *sec = createSection(name, outChars); in createSections()
931 auto sectionOrder = [&](const OutputSection *s) { in createSections()
945 [&](const OutputSection *s, const OutputSection *t) { in createSections()
965 OutputSection *debugInfoSec = config->mingw ? buildidSec : rdataSec; in createMiscChunks()
1091 auto isUnused = [this](OutputSection *s) { in removeUnusedSections()
1106 auto isEmpty = [](OutputSection *s) { return s->getVirtualSize() == 0; }; in removeEmptySections()
1116 for (OutputSection *os : outputSections) { in assignOutputSectionIndices()
1156 OutputSection *os = c->getOutputSection(); in createSymbol()
1203 for (OutputSection *sec : outputSections) { in createSymbolAndStringTable()
1260 OutputSection *from = findSection(p.first); in mergeSections()
1261 OutputSection *to = findSection(toName); in mergeSections()
1286 for (OutputSection *sec : outputSections) { in assignAddresses()
1505 for (OutputSection *sec : outputSections) { in writeHeader()
1854 for (OutputSection *sec : outputSections) in setSectionPermissions()
1867 for (OutputSection *sec : outputSections) { in writeSections()
1937 OutputSection *os = c->getOutputSection(); in sortExceptionTable()
2004 OutputSection *Writer::findSection(StringRef name) { in findSection()
2005 for (OutputSection *sec : outputSections) in findSection()
2013 for (OutputSection *s : outputSections) in getSizeOfInitializedData()
2025 for (OutputSection *sec : outputSections) { in addBaserels()
2078 OutputSection *sec = tlsSym->getChunk()->getOutputSection(); in fixTlsAlignment()