reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/ELF/InputSection.cpp
 1238     pieces.emplace_back(off, xxHash64(s.substr(0, size)), !isAlloc);
 1253     pieces.emplace_back(i, xxHash64(data.slice(i, entSize)), !isAlloc);
 1275   assert(pieces.empty());
 1290       pieces, [=](SectionPiece p) { return p.inputOff <= offset; });
tools/lld/ELF/InputSection.h
  256     size_t begin = pieces[i].inputOff;
  258         (pieces.size() - 1 == i) ? data().size() : pieces[i + 1].inputOff;
  258         (pieces.size() - 1 == i) ? data().size() : pieces[i + 1].inputOff;
  259     return {toStringRef(data().slice(begin, end - begin)), pieces[i].hash};
tools/lld/ELF/SyntheticSections.cpp
 3050     for (size_t i = 0, e = sec->pieces.size(); i != e; ++i)
 3051       if (sec->pieces[i].live)
 3061     for (size_t i = 0, e = sec->pieces.size(); i != e; ++i)
 3062       if (sec->pieces[i].live)
 3063         sec->pieces[i].outputOff = builder.getOffset(sec->getData(i));
 3094       for (size_t i = 0, e = sec->pieces.size(); i != e; ++i) {
 3095         if (!sec->pieces[i].live)
 3097         size_t shardId = getShardId(sec->pieces[i].hash);
 3099           sec->pieces[i].outputOff = shards[shardId].add(sec->getData(i));
 3118     for (size_t i = 0, e = sec->pieces.size(); i != e; ++i)
 3119       if (sec->pieces[i].live)
 3120         sec->pieces[i].outputOff +=
 3121             shardOffsets[getShardId(sec->pieces[i].hash)];