Lines Matching defs:RE
45 int64_t RuntimeDyldMachO::memcpyAddend(const RelocationEntry &RE) const {
46 unsigned NumBytes = 1 << RE.Size;
47 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);
98 const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) {
119 Value.Offset = SymInfo.getOffset() + RE.Addend;
122 Value.Offset = RE.Addend;
133 Value.Offset = RE.Addend - Addr;
147 void RuntimeDyldMachO::dumpRelocationToResolve(const RelocationEntry &RE,
149 const SectionEntry &Section = Sections[RE.SectionID];
150 uint8_t *LocalAddress = Section.getAddress() + RE.Offset;
151 uint64_t FinalAddress = Section.getLoadAddress() + RE.Offset;
153 dbgs() << "resolveRelocation Section: " << RE.SectionID
156 << " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend
157 << " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType
158 << " Size: " << (1 << RE.Size) << "\n";
213 RelocationEntry RE(PTSectionID, PTEntryOffset,
215 addRelocationForSymbol(RE, IndirectSymbolName);