Lines Matching defs:Relocation
52 auto Begin = Relocations.lower_bound(Relocation{Offset, 0, 0, 0, 0});
53 auto End = Relocations.upper_bound(Relocation{EndOffset, 0, 0, 0, 0});
57 const Relocation &Rel = *Begin++;
114 auto HasUndefSym = [this](const auto &Relocation) {
115 return BC.UndefinedSymbols.count(Relocation.Symbol);
122 for (const auto &Relocation : make_range(ROI, ROE)) {
125 << (Relocation.Symbol ? Relocation.Symbol->getName()
127 << " at offset 0x" << Twine::utohexstr(Relocation.Offset)
129 << Relocation::getSizeForType(Relocation.Type) << '\n');
133 size_t RelocationSize = Relocation::emit(ROI, ROE, &Streamer);
177 for (Relocation &Reloc : PendingRelocations) {
182 Value = Relocation::encodeValue(Reloc.Type, Value,
186 Relocation::getSizeForType(Reloc.Type),
191 << " of size " << Relocation::getSizeForType(Reloc.Type)
222 for (const Relocation &R : relocations())
231 for (const Relocation &Rel : relocations()) {
240 Relocation NewRel(Rel);
278 addRelocation(OS.tell(), ZeroSym, Relocation::getAbs64(), 0xdeadbeef);