Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_AArch64.cpp65 uint32_t *CurAddress = FirstAddress + 1; in patchSled() local
67 *CurAddress = uint32_t(PatchOpcodes::PO_LdrW0_12); in patchSled()
68 CurAddress++; in patchSled()
70 CurAddress++; in patchSled()
71 *CurAddress = uint32_t(PatchOpcodes::PO_BlrX16); in patchSled()
72 CurAddress++; in patchSled()
73 *CurAddress = FuncId; in patchSled()
74 CurAddress++; in patchSled()
76 CurAddress += 2; in patchSled()
78 CurAddress++; 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()