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;
221 bool verifyRanges(const std::vector<Chunk *> chunks);
247 void sortCRTSectionChunks(std::vector<Chunk *> &chunks);
249 void sortBySectionOrder(std::vector<Chunk *> &chunks);
273 Chunk *importTableStart = nullptr;
275 Chunk *edataStart = nullptr;
276 Chunk *edataEnd = nullptr;
277 Chunk *iatStart = nullptr;
285 std::vector<std::pair<COFF::DebugType, Chunk *>> debugRecords;
316 Chunk *firstPdata = nullptr;
317 Chunk *lastPdata;
325 void OutputSection::addChunk(Chunk *c) { in addChunk()
329 void OutputSection::insertChunkAtStart(Chunk *c) { in insertChunkAtStart()
404 Chunk *c; in getThunk()
474 Chunk *thunkChunk = thunk->getChunk(); in createThunks()
527 bool Writer::verifyRanges(const std::vector<Chunk *> chunks) { in verifyRanges()
528 for (Chunk *c : chunks) { in verifyRanges()
720 void Writer::sortBySectionOrder(std::vector<Chunk *> &chunks) { in sortBySectionOrder()
721 auto getPriority = [&ctx = ctx](const Chunk *c) { in sortBySectionOrder()
728 llvm::stable_sort(chunks, [=](const Chunk *a, const Chunk *b) { in sortBySectionOrder()
778 llvm::stable_sort(pSec->chunks, [&](Chunk *s, Chunk *t) { in fixGnuImportChunks()
808 auto add = [&](StringRef n, std::vector<Chunk *> &v) { in addSyntheticIdata()
831 for (Chunk *c : importDirs->chunks) in locateImportTables()
838 for (Chunk *c : importAddresses->chunks) in locateImportTables()
917 for (Chunk *c : ctx.symtab.getChunks()) { in createSections()
974 for (Chunk *c : pSec->chunks) in createSections()
1018 for (Chunk *c : ctx.symtab.localImportChunks) in createMiscChunks()
1047 for (std::pair<COFF::DebugType, Chunk *> r : debugRecords) { in createMiscChunks()
1118 for (Chunk *c : delayIdata.getChunks()) in appendImportThunks()
1120 for (Chunk *c : delayIdata.getDataChunks()) in appendImportThunks()
1122 for (Chunk *c : delayIdata.getCodeChunks()) in appendImportThunks()
1124 for (Chunk *c : delayIdata.getCodePData()) in appendImportThunks()
1126 for (Chunk *c : delayIdata.getCodeUnwindInfo()) in appendImportThunks()
1138 for (Chunk *c : edata.chunks) in createExportTable()
1177 for (Chunk *c : os->chunks) in assignOutputSectionIndices()
1216 Chunk *c = def->getChunk(); in createSymbol()
1384 for (Chunk *c : sec->chunks) { in assignAddresses()
1642 Chunk *c = s->getChunk(); in addSymbolToRVASet()
1702 for (Chunk *c : file->getChunks()) { in markSymbolsWithRelocations()
1884 for (Chunk *c : ctx.symtab.getChunks()) { in createRuntimePseudoRelocs()
1959 parallelForEach(sec->chunks, [&](Chunk *c) { in writeSections()
2023 auto bufAddr = [&](Chunk *c) { in sortExceptionTable()
2069 void Writer::sortCRTSectionChunks(std::vector<Chunk *> &chunks) { in sortCRTSectionChunks()
2070 auto sectionChunkOrder = [](const Chunk *a, const Chunk *b) { in sortCRTSectionChunks()
2116 for (Chunk *c : sec->chunks) in addBaserels()