Searched refs:coff_relocation (Results 1 – 8 of 8) sorted by relevance
356 const coff_relocation *FirstReloc; in getNumberOfRelocations()358 reinterpret_cast<const coff_relocation *>( in getNumberOfRelocations()369 static const coff_relocation *374 auto begin = reinterpret_cast<const coff_relocation *>( in getFirstReloc()382 sizeof(coff_relocation) * NumRelocs)) { in getFirstReloc()391 const coff_relocation *begin = getFirstReloc(Sec, Data, base()); in section_rel_begin()401 const coff_relocation *I = getFirstReloc(Sec, Data, base()); in section_rel_end()1142 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel()1143 return reinterpret_cast<const coff_relocation*>(Rel.p); in toRel()1148 reinterpret_cast<const coff_relocation*>(Rel.p) + 1); in moveRelocationNext()[all …]
193 NumberOfRelocations * sizeof(coff_relocation) + in createImportDescriptor()222 NumberOfRelocations * sizeof(coff_relocation)), in createImportDescriptor()238 const coff_relocation RelocationTable[NumberOfRelocations] = { in createImportDescriptor()
980 reinterpret_cast<coff_relocation *>(BufferStart + CurrentOffset); in writeFirstSectionRelocations()999 CurrentOffset += sizeof(coff_relocation); in writeFirstSectionRelocations()
29 Relocation(const object::coff_relocation &R) : Reloc(R) {} in Relocation()31 object::coff_relocation Reloc;
72 ArrayRef<coff_relocation> Relocs = COFFObj.getRelocations(Sec); in readSections()73 for (const coff_relocation &R : Relocs) in readSections()
105 FileSize += sizeof(coff_relocation); in layoutSections()111 FileSize += S.Relocs.size() * sizeof(coff_relocation); in layoutSections()321 object::coff_relocation R; in writeSections()
474 struct coff_relocation { struct833 const coff_relocation *toRel(DataRefImpl Rel) const;982 const coff_relocation *getCOFFRelocation(const RelocationRef &Reloc) const;1073 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const;1265 std::vector<const coff_relocation *> Relocs;
197 const object::coff_relocation *reloc = Obj.getCOFFRelocation(Reloc); in dumpSections()