Lines Matching refs:OutputSection

97       OutputSection *OS = Record->getOutputSection();  in writeTo()
201 OutputSection *findSection(StringRef Name);
209 std::vector<OutputSection *> OutputSections;
231 OutputSection *TextSec;
232 OutputSection *RdataSec;
233 OutputSection *BuildidSec;
234 OutputSection *DataSec;
235 OutputSection *PdataSec;
236 OutputSection *IdataSec;
237 OutputSection *EdataSec;
238 OutputSection *DidatSec;
239 OutputSection *RsrcSec;
240 OutputSection *RelocSec;
241 OutputSection *CtorsSec;
242 OutputSection *DtorsSec;
266 void OutputSection::addChunk(Chunk *C) { in addChunk()
271 void OutputSection::insertChunkAtStart(Chunk *C) { in insertChunkAtStart()
276 void OutputSection::setPermissions(uint32_t C) { in setPermissions()
281 void OutputSection::merge(OutputSection *Other) { in merge()
289 void OutputSection::writeHeaderTo(uint8_t *Buf) { in writeHeaderTo()
372 static bool createThunks(OutputSection *OS, int Margin) { in createThunks()
461 for (OutputSection *Sec : OutputSections) { in finalizeAddresses()
473 for (OutputSection *Sec : OutputSections) { in finalizeAddresses()
494 for (OutputSection *Sec : OutputSections) { in finalizeAddresses()
505 for (OutputSection *Sec : OutputSections) in finalizeAddresses()
702 SmallDenseMap<std::pair<StringRef, uint32_t>, OutputSection *> Sections; in createSections()
704 OutputSection *&Sec = Sections[{Name, OutChars}]; in createSections()
706 Sec = make<OutputSection>(Name, OutChars); in createSections()
776 OutputSection *Sec = CreateSection(Name, OutChars); in createSections()
783 auto SectionOrder = [&](OutputSection *S) { in createSections()
797 [&](OutputSection *S, OutputSection *T) { in createSections()
813 OutputSection *DebugInfoSec = Config->MinGW ? BuildidSec : RdataSec; in createMiscChunks()
916 auto IsUnused = [this](OutputSection *S) { in removeUnusedSections()
931 auto IsEmpty = [](OutputSection *S) { return S->getVirtualSize() == 0; }; in removeEmptySections()
936 for (OutputSection *Sec : OutputSections) in removeEmptySections()
964 OutputSection *OS = C->getOutputSection(); in createSymbol()
1004 for (OutputSection *Sec : OutputSections) { in createSymbolAndStringTable()
1056 OutputSection *From = findSection(P.first); in mergeSections()
1057 OutputSection *To = findSection(ToName); in mergeSections()
1070 for (OutputSection *Sec : OutputSections) in readRelocTargets()
1087 for (OutputSection *Sec : OutputSections) { in assignAddresses()
1283 for (OutputSection *Sec : OutputSections) { in writeHeader()
1388 OutputSection *OS = RefChunk ? RefChunk->getOutputSection() : nullptr; in maybeAddAddressTakenFunction()
1585 for (OutputSection *Sec : OutputSections) in setSectionPermissions()
1598 for (OutputSection *Sec : OutputSections) { in writeSections()
1723 OutputSection *Writer::findSection(StringRef Name) { in findSection()
1724 for (OutputSection *Sec : OutputSections) in findSection()
1732 for (OutputSection *S : OutputSections) in getSizeOfInitializedData()
1744 for (OutputSection *Sec : OutputSections) { in addBaserels()