Lines Matching full:relocation
80 // This class contains staging data for a COFF relocation entry.
82 COFF::relocation Data;
166 void WriteRelocation(const COFF::relocation &R);
644 void WinCOFFObjectWriter::WriteRelocation(const COFF::relocation &R) {
703 assert(Target.getSymA() && "Relocation must reference a symbol!");
747 // Ofeset of the relocation in the section
753 // skip recording the relocation.
809 llvm_unreachable("unsupported relocation");
817 // perform a 4 byte adjustment to the relocation. Relative branches are
936 for (auto & Relocation : Sec->Relocations) {
937 assert(Relocation.Symb->Index != -1);
938 Relocation.Data.SymbolTableIndex = Relocation.Symb->Index;
993 // In case of overflow, write actual relocation count as first
994 // relocation. Including the synthetic reloc itself (+ 1).
995 COFF::relocation r;
1002 for (const auto & Relocation : (*i)->Relocations)
1003 WriteRelocation(Relocation.Data);