Lines Matching refs:Chunk
87 OutputSection *Chunk::getOutputSection() const { in getOutputSection()
97 DebugDirectoryChunk(const std::vector<std::pair<COFF::DebugType, Chunk *>> &r, in DebugDirectoryChunk()
108 for (const std::pair<COFF::DebugType, Chunk *>& record : records) { in writeTo()
109 Chunk *c = record.second; in writeTo()
147 const std::vector<std::pair<COFF::DebugType, Chunk *>> &records;
240 void sortCRTSectionChunks(std::vector<Chunk *> &chunks);
262 Chunk *importTableStart = nullptr;
264 Chunk *edataStart = nullptr;
265 Chunk *edataEnd = nullptr;
266 Chunk *iatStart = nullptr;
274 std::vector<std::pair<COFF::DebugType, Chunk *>> debugRecords;
305 Chunk *firstPdata = nullptr;
306 Chunk *lastPdata;
315 void OutputSection::addChunk(Chunk *c) { in addChunk()
319 void OutputSection::insertChunkAtStart(Chunk *c) { in insertChunkAtStart()
394 Chunk *c; in getThunk()
467 Chunk *thunkChunk = thunk->getChunk(); in createThunks()
520 static bool verifyRanges(const std::vector<Chunk *> chunks) { in verifyRanges()
521 for (Chunk *c : chunks) { in verifyRanges()
672 static void sortBySectionOrder(std::vector<Chunk *> &chunks) { in sortBySectionOrder()
673 auto getPriority = [](const Chunk *c) { in sortBySectionOrder()
680 llvm::stable_sort(chunks, [=](const Chunk *a, const Chunk *b) { in sortBySectionOrder()
730 llvm::stable_sort(pSec->chunks, [&](Chunk *s, Chunk *t) { in fixGnuImportChunks()
760 auto add = [&](StringRef n, std::vector<Chunk *> &v) { in addSyntheticIdata()
783 for (Chunk *c : importDirs->chunks) in locateImportTables()
790 for (Chunk *c : importAddresses->chunks) in locateImportTables()
867 for (Chunk *c : symtab->getChunks()) { in createSections()
924 for (Chunk *c : pSec->chunks) in createSections()
960 for (Chunk *c : symtab->localImportChunks) in createMiscChunks()
988 for (std::pair<COFF::DebugType, Chunk *> r : debugRecords) { in createMiscChunks()
1059 for (Chunk *c : delayIdata.getChunks()) in appendImportThunks()
1061 for (Chunk *c : delayIdata.getDataChunks()) in appendImportThunks()
1063 for (Chunk *c : delayIdata.getCodeChunks()) in appendImportThunks()
1075 for (Chunk *c : edata.chunks) in createExportTable()
1118 for (Chunk *c : os->chunks) in assignOutputSectionIndices()
1153 Chunk *c = def->getChunk(); in createSymbol()
1300 for (Chunk *c : sec->chunks) { in assignAddresses()
1557 Chunk *c = s->getChunk(); in addSymbolToRVASet()
1617 for (Chunk *c : file->getChunks()) { in markSymbolsWithRelocations()
1796 for (Chunk *c : symtab->getChunks()) { in createRuntimePseudoRelocs()
1874 parallelForEach(sec->chunks, [&](Chunk *c) { in writeSections()
1936 auto bufAddr = [&](Chunk *c) { in sortExceptionTable()
1982 void Writer::sortCRTSectionChunks(std::vector<Chunk *> &chunks) { in sortCRTSectionChunks()
1983 auto sectionChunkOrder = [](const Chunk *a, const Chunk *b) { in sortCRTSectionChunks()
2029 for (Chunk *c : sec->chunks) in addBaserels()