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

References

include/llvm/Object/COFF.h
  973     return reinterpret_cast<const dos_header *>(base());
include/llvm/Object/ELFObjectFile.h
  728                       (uintptr_t)base() + EShdr->sh_offset, EShdr->sh_size))
  730   return makeArrayRef((const uint8_t *)base() + EShdr->sh_offset,
  778         reinterpret_cast<Elf_Dyn *>((uintptr_t)base() + Sec.sh_offset);
lib/Object/COFFObjectFile.cpp
  109   uintptr_t Offset = uintptr_t(Addr) - uintptr_t(base());
  382   const coff_relocation *begin = getFirstReloc(Sec, Data, base());
  392   const coff_relocation *I = getFirstReloc(Sec, Data, base());
  394     I += getNumberOfRelocations(Sec, Data, base());
  404             SymbolTable16, Data, base() + getPointerToSymbolTable(),
  410             SymbolTable32, Data, base() + getPointerToSymbolTable(),
  419   const uint8_t *StringTableAddr = base() + StringTableOffset;
  464       Res = uintptr_t(base()) + Section->PointerToRawData + Offset;
  483           uintptr_t(base()) + Section->PointerToRawData + OffsetIntoSection;
  688     const auto *DH = reinterpret_cast<const dos_header *>(base());
  692       if (memcmp(base() + CurPtr, COFF::PEMagic, sizeof(COFF::PEMagic)) != 0) {
  701   if ((EC = getObject(COFFHeader, Data, base() + CurPtr)))
  709     if ((EC = getObject(COFFBigObjHeader, Data, base() + CurPtr)))
  735     if ((EC = getObject(Header, Data, base() + CurPtr)))
  742       DataDirAddr = base() + CurPtr + sizeof(pe32_header);
  746       DataDirAddr = base() + CurPtr + sizeof(pe32plus_header);
  760   if ((EC = getObject(SectionTable, Data, base() + CurPtr,
 1031     uintptr_t Offset = uintptr_t(Aux) - uintptr_t(base());
 1108   uintptr_t ConStart = uintptr_t(base()) + Sec->PointerToRawData;
 1173   return {getFirstReloc(Sec, Data, base()),
 1174           getNumberOfRelocations(Sec, Data, base())};
lib/Object/XCOFFObjectFile.cpp
  601           Obj->Data, reinterpret_cast<uintptr_t>(Obj->base() + Offset), 4))
  605   uint32_t Size = support::endian::read32be(Obj->base() + Offset);
  613       getObject<char>(Obj->Data, Obj->base() + Offset, Size);
  631   const auto *Base = Obj->base();