Home
last modified time | relevance | path

Searched refs:CurAddress (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_AArch64.cpp64 uint32_t *CurAddress = FirstAddress + 1; in patchSled() local
66 *CurAddress++ = 0x18000071; // ldr w17, #12 in patchSled()
67 *CurAddress = uint32_t(PatchOpcodes::PO_LdrX16_12); in patchSled()
68 CurAddress++; in patchSled()
69 *CurAddress = uint32_t(PatchOpcodes::PO_BlrX16); in patchSled()
70 CurAddress++; in patchSled()
71 *CurAddress = FuncId; in patchSled()
72 CurAddress++; in patchSled()
73 *reinterpret_cast<void (**)()>(CurAddress) = TracingHook; in patchSled()
74 CurAddress += 2; in patchSled()
[all …]
H A Dxray_arm.cpp106 uint32_t *CurAddress = FirstAddress + 1; in patchSled() local
108 CurAddress = in patchSled()
109 write32bitLoadR0(CurAddress, reinterpret_cast<uint32_t>(FuncId)); in patchSled()
110 CurAddress = in patchSled()
111 write32bitLoadIP(CurAddress, reinterpret_cast<uint32_t>(TracingHook)); in patchSled()
112 *CurAddress = uint32_t(PatchOpcodes::PO_BlxIp); in patchSled()
113 CurAddress++; in patchSled()
114 *CurAddress = uint32_t(PatchOpcodes::PO_PopR0Lr); in patchSled()
115 CurAddress++; in patchSled()
125 reinterpret_cast<char *>(CurAddress)); in patchSled()
H A Dxray_hexagon.cpp118 uint32_t *CurAddress = FirstAddress + 1; in patchSled() local
119 *CurAddress = encodeExtendedTransferImmediate(FuncId, RN_R7); in patchSled()
120 CurAddress++; in patchSled()
121 *CurAddress = encodeConstantExtender(reinterpret_cast<uint32_t>(TracingHook)); in patchSled()
122 CurAddress++; in patchSled()
123 *CurAddress = in patchSled()
125 CurAddress++; in patchSled()
127 *CurAddress = uint32_t(PO_CALLR_R6); in patchSled()