Lines Matching defs:Reloc
580 const XCOFFRelocation64 *Reloc = viewAs<XCOFFRelocation64>(Rel.p);
582 const uint64_t RelocAddress = Reloc->VirtualAddress;
594 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p);
596 const uint32_t RelocAddress = Reloc->VirtualAddress;
614 const XCOFFRelocation64 *Reloc = viewAs<XCOFFRelocation64>(Rel.p);
615 Index = Reloc->SymbolIndex;
620 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p);
621 Index = Reloc->SymbolIndex;
641 const XCOFFRelocation64 *Reloc = viewAs<XCOFFRelocation64>(Rel.p);
642 Res = XCOFF::getRelocationTypeString(Reloc->Type);
644 const XCOFFRelocation32 *Reloc = viewAs<XCOFFRelocation32>(Rel.p);
645 Res = XCOFF::getRelocationTypeString(Reloc->Type);
1017 template <typename Shdr, typename Reloc>
1018 Expected<ArrayRef<Reloc>> XCOFFObjectFile::relocations(const Shdr &Sec) const {
1026 static_assert((sizeof(Reloc) == XCOFF::RelocationSerializationSize64 ||
1027 sizeof(Reloc) == XCOFF::RelocationSerializationSize32),
1030 getObject<Reloc>(Data, reinterpret_cast<void *>(RelocAddr),
1031 NumRelocEntries * sizeof(Reloc));
1036 Twine::utohexstr(NumRelocEntries * sizeof(Reloc)) +
1039 const Reloc *StartReloc = RelocationOrErr.get();
1041 return ArrayRef<Reloc>(StartReloc, StartReloc + NumRelocEntries);