Home | History | Annotate | Download | only in RuntimeDyld

Lines Matching refs:RE

46 int64_t RuntimeDyldMachO::memcpyAddend(const RelocationEntry &RE) const {
47 unsigned NumBytes = 1 << RE.Size;
48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset;
60 MachO::any_relocation_info RE =
64 uint32_t RelocType = Obj.getAnyRelocationType(RE);
65 bool IsPCRel = Obj.getAnyRelocationPCRel(RE);
66 unsigned Size = Obj.getAnyRelocationLength(RE);
72 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE);
97 const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) {
118 Value.Offset = SymInfo.getOffset() + RE.Addend;
121 Value.Offset = RE.Addend;
132 Value.Offset = RE.Addend - Addr;
146 void RuntimeDyldMachO::dumpRelocationToResolve(const RelocationEntry &RE,
148 const SectionEntry &Section = Sections[RE.SectionID];
149 uint8_t *LocalAddress = Section.getAddress() + RE.Offset;
150 uint64_t FinalAddress = Section.getLoadAddress() + RE.Offset;
152 dbgs() << "resolveRelocation Section: " << RE.SectionID
155 << " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend
156 << " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType
157 << " Size: " << (1 << RE.Size) << "\n";
212 RelocationEntry RE(PTSectionID, PTEntryOffset,
214 addRelocationForSymbol(RE, IndirectSymbolName);
237 // if they're present. Otherwise call down to the impl to handle other