Lines Matching refs:Relocation
44 auto Begin = Relocations.lower_bound(Relocation{Offset, 0, 0, 0, 0}); in hash()
45 auto End = Relocations.upper_bound(Relocation{EndOffset, 0, 0, 0, 0}); in hash()
52 const Relocation &Rel = *Begin++; in hash()
88 for (const Relocation &Relocation : relocations()) { in emitAsData() local
89 assert(Relocation.Offset < SectionContents.size() && "overflow detected"); in emitAsData()
91 if (BC.UndefinedSymbols.count(Relocation.Symbol)) in emitAsData()
93 if (SectionOffset < Relocation.Offset) { in emitAsData()
95 SectionOffset, Relocation.Offset - SectionOffset)); in emitAsData()
96 SectionOffset = Relocation.Offset; in emitAsData()
99 << (Relocation.Symbol ? Relocation.Symbol->getName() in emitAsData()
102 << Twine::utohexstr(Relocation.Offset) << " with size " in emitAsData()
103 << Relocation::getSizeForType(Relocation.Type) << '\n'); in emitAsData()
104 size_t RelocationSize = Relocation.emit(&Streamer); in emitAsData()
139 for (Relocation &Reloc : PendingRelocations) { in flushPendingRelocations()
144 Value = Relocation::adjustValue(Reloc.Type, Value, in flushPendingRelocations()
148 Relocation::getSizeForType(Reloc.Type), in flushPendingRelocations()
153 << " of size " << Relocation::getSizeForType(Reloc.Type) in flushPendingRelocations()
195 for (const Relocation &R : relocations()) in print()
204 for (const Relocation &Rel : relocations()) { in reorderRelocations()
213 Relocation NewRel(Rel); in reorderRelocations()