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

References

tools/lld/ELF/SyntheticSections.cpp
 2738   auto *hdr = reinterpret_cast<GdbIndexHeader *>(buf);
 2739   uint8_t *start = buf;
 2741   buf += sizeof(*hdr);
 2744   hdr->cuListOff = buf - start;
 2747       write64le(buf, chunk.sec->outSecOff + cu.cuOffset);
 2748       write64le(buf + 8, cu.cuLength);
 2749       buf += 16;
 2754   hdr->cuTypesOff = buf - start;
 2755   hdr->addressAreaOff = buf - start;
 2760       write64le(buf, baseAddr + e.lowAddress);
 2761       write64le(buf + 8, baseAddr + e.highAddress);
 2762       write32le(buf + 16, e.cuIndex + cuOff);
 2763       buf += 20;
 2769   hdr->symtabOff = buf - start;
 2778     while (read32le(buf + i * 8))
 2781     write32le(buf + i * 8, sym.nameOff);
 2782     write32le(buf + i * 8 + 4, sym.cuVectorOff);
 2785   buf += symtabSize * 8;
 2788   hdr->constantPoolOff = buf - start;
 2790     memcpy(buf + sym.nameOff, sym.name.data(), sym.name.size());
 2795     write32le(buf, sym.cuVector.size());
 2796     buf += 4;
 2798       write32le(buf, val);
 2799       buf += 4;