Lines Matching defs:Reloc
579 const XCOFFRelocation64 *Reloc = viewAs<XCOFFRelocation64>(Rel.p);
581 const uint64_t RelocAddress = Reloc->VirtualAddress;
593 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p);
595 const uint32_t RelocAddress = Reloc->VirtualAddress;
613 const XCOFFRelocation64 *Reloc = viewAs<XCOFFRelocation64>(Rel.p);
614 Index = Reloc->SymbolIndex;
619 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p);
620 Index = Reloc->SymbolIndex;
640 const XCOFFRelocation64 *Reloc = viewAs<XCOFFRelocation64>(Rel.p);
641 Res = XCOFF::getRelocationTypeString(Reloc->Type);
643 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p);
644 Res = XCOFF::getRelocationTypeString(Reloc->Type);
1016 template <typename Shdr, typename Reloc>
1017 Expected<ArrayRef<Reloc>> XCOFFObjectFile::relocations(const Shdr &Sec) const {
1025 static_assert((sizeof(Reloc) == XCOFF::RelocationSerializationSize64 ||
1026 sizeof(Reloc) == XCOFF::RelocationSerializationSize32),
1029 getObject<Reloc>(Data, reinterpret_cast<void *>(RelocAddr),
1030 NumRelocEntries * sizeof(Reloc));
1035 Twine::utohexstr(NumRelocEntries * sizeof(Reloc)) +
1038 const Reloc *StartReloc = RelocationOrErr.get();
1040 return ArrayRef<Reloc>(StartReloc, StartReloc + NumRelocEntries);