Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_AArch64.cc66 uint32_t *CurAddress = FirstAddress + 1; in patchSled() local
68 *CurAddress = uint32_t(PatchOpcodes::PO_LdrW0_12); in patchSled()
69 CurAddress++; in patchSled()
70 *CurAddress = uint32_t(PatchOpcodes::PO_LdrX16_12); in patchSled()
71 CurAddress++; in patchSled()
72 *CurAddress = uint32_t(PatchOpcodes::PO_BlrX16); in patchSled()
73 CurAddress++; in patchSled()
74 *CurAddress = FuncId; in patchSled()
75 CurAddress++; in patchSled()
76 *reinterpret_cast<void (**)()>(CurAddress) = TracingHook; in patchSled()
[all …]
H A Dxray_arm.cc107 uint32_t *CurAddress = FirstAddress + 1; in patchSled() local
109 CurAddress = in patchSled()
110 write32bitLoadR0(CurAddress, reinterpret_cast<uint32_t>(FuncId)); in patchSled()
111 CurAddress = in patchSled()
112 write32bitLoadIP(CurAddress, reinterpret_cast<uint32_t>(TracingHook)); in patchSled()
113 *CurAddress = uint32_t(PatchOpcodes::PO_BlxIp); in patchSled()
114 CurAddress++; in patchSled()
115 *CurAddress = uint32_t(PatchOpcodes::PO_PopR0Lr); in patchSled()
116 CurAddress++; in patchSled()
126 reinterpret_cast<char *>(CurAddress)); in patchSled()