Lines Matching refs:Chunk
89 const std::vector<std::pair<COFF::DebugType, Chunk *>> &r, in DebugDirectoryChunk()
100 for (const std::pair<COFF::DebugType, Chunk *>& record : records) { in writeTo()
101 Chunk *c = record.second; in writeTo()
139 const std::vector<std::pair<COFF::DebugType, Chunk *>> &records;
234 void sortCRTSectionChunks(std::vector<Chunk *> &chunks);
256 Chunk *importTableStart = nullptr;
258 Chunk *edataStart = nullptr;
259 Chunk *edataEnd = nullptr;
260 Chunk *iatStart = nullptr;
268 std::vector<std::pair<COFF::DebugType, Chunk *>> debugRecords;
299 Chunk *firstPdata = nullptr;
300 Chunk *lastPdata;
308 void OutputSection::addChunk(Chunk *c) { in addChunk()
312 void OutputSection::insertChunkAtStart(Chunk *c) { in insertChunkAtStart()
387 Chunk *c; in getThunk()
460 Chunk *thunkChunk = thunk->getChunk(); in createThunks()
513 static bool verifyRanges(const std::vector<Chunk *> chunks) { in verifyRanges()
514 for (Chunk *c : chunks) { in verifyRanges()
665 static void sortBySectionOrder(std::vector<Chunk *> &chunks) { in sortBySectionOrder()
666 auto getPriority = [](const Chunk *c) { in sortBySectionOrder()
673 llvm::stable_sort(chunks, [=](const Chunk *a, const Chunk *b) { in sortBySectionOrder()
723 llvm::stable_sort(pSec->chunks, [&](Chunk *s, Chunk *t) { in fixGnuImportChunks()
753 auto add = [&](StringRef n, std::vector<Chunk *> &v) { in addSyntheticIdata()
776 for (Chunk *c : importDirs->chunks) in locateImportTables()
783 for (Chunk *c : importAddresses->chunks) in locateImportTables()
861 for (Chunk *c : ctx.symtab.getChunks()) { in createSections()
918 for (Chunk *c : pSec->chunks) in createSections()
960 for (Chunk *c : ctx.symtab.localImportChunks) in createMiscChunks()
989 for (std::pair<COFF::DebugType, Chunk *> r : debugRecords) { in createMiscChunks()
1060 for (Chunk *c : delayIdata.getChunks()) in appendImportThunks()
1062 for (Chunk *c : delayIdata.getDataChunks()) in appendImportThunks()
1064 for (Chunk *c : delayIdata.getCodeChunks()) in appendImportThunks()
1076 for (Chunk *c : edata.chunks) in createExportTable()
1115 for (Chunk *c : os->chunks) in assignOutputSectionIndices()
1150 Chunk *c = def->getChunk(); in createSymbol()
1303 for (Chunk *c : sec->chunks) { in assignAddresses()
1560 Chunk *c = s->getChunk(); in addSymbolToRVASet()
1620 for (Chunk *c : file->getChunks()) { in markSymbolsWithRelocations()
1799 for (Chunk *c : ctx.symtab.getChunks()) { in createRuntimePseudoRelocs()
1878 parallelForEach(sec->chunks, [&](Chunk *c) { in writeSections()
1940 auto bufAddr = [&](Chunk *c) { in sortExceptionTable()
1986 void Writer::sortCRTSectionChunks(std::vector<Chunk *> &chunks) { in sortCRTSectionChunks()
1987 auto sectionChunkOrder = [](const Chunk *a, const Chunk *b) { in sortCRTSectionChunks()
2033 for (Chunk *c : sec->chunks) in addBaserels()