Home
last modified time | relevance | path

Searched refs:sectionIdx (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DBPSectionOrdererBase.inc90 for (unsigned sectionIdx : sectionIdxs) {
91 const auto *isec = sections[sectionIdx];
93 sectionHashes.emplace_back(sectionIdx, std::move(hashes));
98 for (auto &[sectionIdx, hashes] : sectionHashes)
107 for (auto &[sectionIdx, hashes] : sectionHashes) {
113 wholeHashToSectionIdx.insert(std::make_pair(wholeHash, sectionIdx));
115 newSectionHashes.emplace_back(sectionIdx, hashes);
117 (*duplicateSectionIdxs)[it->getSecond()].push_back(sectionIdx);
124 for (auto &[sectionIdx, hashes] : sectionHashes)
139 for (auto &[sectionIdx, hashes] : sectionHashes) {
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DBPSectionOrderer.cpp90 std::optional<uint64_t> sectionIdx; in getRelocHash() local
92 sectionIdx = it->second; in getRelocHash()
102 return llvm::stable_hash_combine(kind, sectionIdx.value_or(0), value, in getRelocHash()
/freebsd/contrib/llvm-project/lld/COFF/
H A DMapFile.cpp149 uint16_t sectionIdx = 0; in getSymbolStrings() local
165 sectionIdx = chunk->getOutputSectionIdx(); in getSymbolStrings()
184 writeHeader(os, sectionIdx, address); in getSymbolStrings()