Lines Matching +full:mc +full:- +full:sid
1 //===-- RuntimeDyldCOFFAArch64.h --- COFF/AArch64 specific code ---*- C++
2 //-*-===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 // COFF AArch64 support for MC-JIT runtime dynamic linker.
12 //===----------------------------------------------------------------------===//
51 if ((imm & ((1 << size) - 1)) != 0) in write32AArch64Ldr()
57 uint64_t Imm = (s >> shift) - (p >> shift); in write32AArch64Addr()
70 SmallVector<SID, 2> UnregisteredEHFrameSections;
71 SmallVector<SID, 2> RegisteredEHFrameSections;
125 StubOffset = Stub->second; in generateRelocationStub()
148 auto Symbol = RelI->getSymbol(); in processRelocationRef()
152 Expected<StringRef> TargetNameOrErr = Symbol->getName(); in processRelocationRef()
157 auto SectionOrErr = Symbol->getSection(); in processRelocationRef()
162 uint64_t RelType = RelI->getType(); in processRelocationRef()
163 uint64_t Offset = RelI->getOffset(); in processRelocationRef()
174 unsigned TargetSectionID = -1; in processRelocationRef()
175 uint64_t TargetOffset = -1; in processRelocationRef()
184 Obj, *Section, Section->isText(), ObjSectionToID)) in processRelocationRef()
240 RelI->getTypeName(RelTypeName); in processRelocationRef()
276 // The 12-bit relative displacement to the target, for instruction ADR in resolveRelocation()
282 // The 12-bit page offset of the target, in resolveRelocation()
289 // The 12-bit page offset of the target, in resolveRelocation()
296 // The 32-bit VA of the target. in resolveRelocation()
302 // The target's 32-bit RVA. in resolveRelocation()
303 uint64_t RVA = Value + RE.Addend - getImageBase(); in resolveRelocation()
316 // The 26-bit relative displacement to the target, for B and BL in resolveRelocation()
318 uint64_t PCRelVal = Value + RE.Addend - FinalAddress; in resolveRelocation()
325 // The 19-bit offset to the relocation target, in resolveRelocation()
327 uint64_t PCRelVal = Value + RE.Addend - FinalAddress; in resolveRelocation()
334 // The 14-bit offset to the relocation target, in resolveRelocation()
336 uint64_t PCRelVal = Value + RE.Addend - FinalAddress; in resolveRelocation()
343 // The 64-bit VA of the relocation target. in resolveRelocation()
348 // 16-bit section index of the section that contains the target. in resolveRelocation()
355 // 32-bit offset of the target from the beginning of its section. in resolveRelocation()
364 // The 32-bit relative address from the byte following the relocation. in resolveRelocation()
365 uint64_t Result = Value - FinalAddress - 4; in resolveRelocation()