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

References

tools/lld/ELF/AArch64ErrataFix.cpp
  355   const uint8_t *buf = isec->data().begin();
  410   write32le(buf, read32le(patchee->data().begin() + patcheeOffset));
  596           (dataSym == mapSyms.end()) ? isec->data().size() : (*dataSym)->value;
tools/lld/ELF/ARMErrataFix.cpp
  257   const uint8_t *buf = isec->data().begin();
  490       uint64_t limit = (nonThumbSym == mapSyms.end()) ? isec->data().size()
tools/lld/ELF/DWARF.cpp
   44       m->Data = toStringRef(sec->data());
   50       abbrevSection = toStringRef(sec->data());
   52       strSection = toStringRef(sec->data());
   54       lineStrSection = toStringRef(sec->data());
tools/lld/ELF/Driver.cpp
 1525   StringRef partName = reinterpret_cast<const char *>(s->data().data());
tools/lld/ELF/EhFrame.cpp
   45           isec->getObjMsg((const uint8_t *)loc - isec->data().data()));
   60   return EhReader(s, s->data().slice(off)).readEhRecordSize();
tools/lld/ELF/ICF.cpp
  305       a->getSize() != b->getSize() || a->data() != b->data())
  305       a->getSize() != b->getSize() || a->data() != b->data())
  457     s->eqClass[0] = xxHash64(s->data());
tools/lld/ELF/InputFiles.cpp
  786                             sec->data(), sec->name);
tools/lld/ELF/InputSection.cpp
  162   const uint8_t *secStart = data().begin();
  464       const uint8_t *bufLoc = sec->data().begin() + rel.r_offset;
 1135   memcpy(buf + outSecOff, data().data(), data().size());
 1135   memcpy(buf + outSecOff, data().data(), data().size());
 1136   uint8_t *bufEnd = buf + outSecOff + data().size();
 1198   for (size_t off = 0, end = data().size(); off != end;) {
 1278     splitStrings(data(), entsize);
 1280     splitNonStrings(data(), entsize);
 1284   if (this->data().size() <= offset)
tools/lld/ELF/InputSection.h
  198     size_t s = data().size();
  200     return llvm::makeArrayRef<T>((const T *)data().data(), s / sizeof(T));
  258         (pieces.size() - 1 == i) ? data().size() : pieces[i + 1].inputOff;
  259     return {toStringRef(data().slice(begin, end - begin)), pieces[i].hash};
  281     return {sec->data().data() + this->inputOff, size};
tools/lld/ELF/MarkLive.cpp
   79   return target->getImplicitAddend(sec.data().begin() + rel.r_offset,
tools/lld/ELF/Relocations.cpp
  610   const uint8_t *buf = sec.data().data();
  638     const uint8_t *buf = sec.data().data();
 1190   const uint8_t *relocatedAddr = sec.data().begin() + rel.r_offset;
tools/lld/ELF/SyntheticSections.cpp
  113     const size_t size = sec->data().size();
  122     auto *s = reinterpret_cast<const Elf_Mips_ABIFlags *>(sec->data().data());
  185     ArrayRef<uint8_t> d = sec->data();
  241     if (sec->data().size() != sizeof(Elf_Mips_RegInfo)) {
  246     auto *r = reinterpret_cast<const Elf_Mips_RegInfo *>(sec->data().data());
 3323       memcpy(buf + offset, d->data().data(), d->data().size());
 3323       memcpy(buf + offset, d->data().data(), d->data().size());