Lines Matching refs:Chunk

90                       const std::vector<std::pair<COFF::DebugType, Chunk *>> &r,  in DebugDirectoryChunk()
101 for (const std::pair<COFF::DebugType, Chunk *>& record : records) { in writeTo()
102 Chunk *c = record.second; in writeTo()
140 const std::vector<std::pair<COFF::DebugType, Chunk *>> &records;
201 Chunk *first = nullptr, *last;
227 bool verifyRanges(const std::vector<Chunk *> chunks);
257 void sortCRTSectionChunks(std::vector<Chunk *> &chunks);
259 void sortBySectionOrder(std::vector<Chunk *> &chunks);
285 Chunk *importTableStart = nullptr;
287 Chunk *edataStart = nullptr;
288 Chunk *edataEnd = nullptr;
289 Chunk *iatStart = nullptr;
297 std::vector<std::pair<COFF::DebugType, Chunk *>> debugRecords;
344 void OutputSection::addChunk(Chunk *c) { in addChunk()
348 void OutputSection::insertChunkAtStart(Chunk *c) { in insertChunkAtStart()
431 Chunk *c; in getThunk()
501 Chunk *thunkChunk = thunk->getChunk(); in createThunks()
563 Chunk *first, *last; in createECCodeMap()
573 for (Chunk *c : sec->chunks) { in createECCodeMap()
596 bool Writer::verifyRanges(const std::vector<Chunk *> chunks) { in verifyRanges()
597 for (Chunk *c : chunks) { in verifyRanges()
803 void Writer::sortBySectionOrder(std::vector<Chunk *> &chunks) { in sortBySectionOrder()
804 auto getPriority = [&ctx = ctx](const Chunk *c) { in sortBySectionOrder()
811 llvm::stable_sort(chunks, [=](const Chunk *a, const Chunk *b) { in sortBySectionOrder()
861 llvm::stable_sort(pSec->chunks, [&](Chunk *s, Chunk *t) { in fixGnuImportChunks()
891 auto add = [&](StringRef n, std::vector<Chunk *> &v) { in addSyntheticIdata()
914 for (Chunk *c : importDirs->chunks) in locateImportTables()
921 for (Chunk *c : importAddresses->chunks) in locateImportTables()
1001 for (Chunk *c : ctx.symtab.getChunks()) { in createSections()
1058 for (Chunk *c : pSec->chunks) in createSections()
1103 for (Chunk *c : ctx.symtab.localImportChunks) in createMiscChunks()
1136 for (std::pair<COFF::DebugType, Chunk *> r : debugRecords) { in createMiscChunks()
1212 for (Chunk *c : delayIdata.getChunks()) in appendImportThunks()
1214 for (Chunk *c : delayIdata.getDataChunks()) in appendImportThunks()
1216 for (Chunk *c : delayIdata.getCodeChunks()) in appendImportThunks()
1218 for (Chunk *c : delayIdata.getCodePData()) in appendImportThunks()
1220 for (Chunk *c : delayIdata.getCodeUnwindInfo()) in appendImportThunks()
1233 for (Chunk *c : edata.chunks) in createExportTable()
1275 for (Chunk *c : os->chunks) in assignOutputSectionIndices()
1314 Chunk *c = def->getChunk(); in createSymbol()
1428 llvm::stable_sort(pdataSec->chunks, [=](const Chunk *a, const Chunk *b) { in mergeSections()
1483 llvm::stable_sort(sec->chunks, [=](const Chunk *a, const Chunk *b) { in sortECChunks()
1524 for (Chunk *c : sec->chunks) { in assignAddresses()
1804 Chunk *c = s->getChunk(); in addSymbolToRVASet()
1866 for (Chunk *c : file->getChunks()) { in markSymbolsWithRelocations()
2059 for (Chunk *c : ctx.symtab.getChunks()) { in createRuntimePseudoRelocs()
2157 for (Chunk *c : sec->chunks) { in writeSections()
2165 parallelForEach(sec->chunks, [&](Chunk *c) { in writeSections()
2229 auto bufAddr = [&](Chunk *c) { in sortExceptionTable()
2290 void Writer::sortCRTSectionChunks(std::vector<Chunk *> &chunks) { in sortCRTSectionChunks()
2291 auto sectionChunkOrder = [](const Chunk *a, const Chunk *b) { in sortCRTSectionChunks()
2338 for (Chunk *c : sec->chunks) in addBaserels()