HomeSort by: relevance | last modified time | path
    Searched refs:Sled (Results 1 - 8 of 8) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_powerpc64.cc 54 const XRaySledEntry &Sled,
59 *reinterpret_cast<uint64_t *>(Sled.Address) =
64 *reinterpret_cast<uint32_t *>(Sled.Address) =
67 clearCache(reinterpret_cast<void *>(Sled.Address), 8);
72 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT {
76 *reinterpret_cast<uint64_t *>(Sled.Address) =
81 *reinterpret_cast<uint32_t *>(Sled.Address) =
82 *(reinterpret_cast<uint32_t *>(Sled.Address) + JumpOverInstNum);
84 clearCache(reinterpret_cast<void *>(Sled.Address), 8);
89 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT
    [all...]
xray_mips.cc 54 const XRaySledEntry &Sled,
57 // We replace the following compile-time stub (sled):
82 // the actual start of function i.e. the address just after the noop sled.
84 // of the function i.e after the nop sled and to correctly calculate the
90 // operation, so that the user code which reaches the sled concurrently
91 // either jumps over the whole sled, or executes the whole sled when the
94 // When |Enable|==false, we set back the first instruction in the sled to be
104 *reinterpret_cast<uint32_t *>(Sled.Address + 8) = encodeInstruction(
106 *reinterpret_cast<uint32_t *>(Sled.Address + 12) = encodeInstruction
    [all...]
xray_x86_64.cc 131 const XRaySledEntry &Sled,
133 // Here we do the dance of replacing the following sled:
146 // 1. Put the function id first, 2 bytes from the start of the sled (just
148 // 2. Put the call opcode 6 bytes from the start of the sled.
149 // 3. Put the relative offset 7 bytes from the start of the sled.
155 (static_cast<int64_t>(Sled.Address) + 11);
157 Report("XRay Entry trampoline (%p) too far from sled (%p)\n",
158 Trampoline, reinterpret_cast<void *>(Sled.Address));
162 *reinterpret_cast<uint32_t *>(Sled.Address + 2) = FuncId;
163 *reinterpret_cast<uint8_t *>(Sled.Address + 6) = CallOpCode
    [all...]
xray_interface_internal.h 60 bool patchFunctionEntry(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled,
62 bool patchFunctionExit(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
64 const XRaySledEntry &Sled);
65 bool patchCustomEvent(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
66 bool patchTypedEvent(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
xray_AArch64.cc 36 const XRaySledEntry &Sled,
39 // We replace the following compile-time stub (sled):
58 // operation, so that the user code which reaches the sled concurrently
59 // either jumps over the whole sled, or executes the whole sled when the
62 // When |Enable|==false, we set back the first instruction in the sled to be
65 uint32_t *FirstAddress = reinterpret_cast<uint32_t *>(Sled.Address);
94 const XRaySledEntry &Sled,
96 return patchSled(Enable, FuncId, Sled, Trampoline);
100 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT
    [all...]
xray_mips64.cc 55 const XRaySledEntry &Sled,
58 // We replace the following compile-time stub (sled):
86 // operation, so that the user code which reaches the sled concurrently
87 // either jumps over the whole sled, or executes the whole sled when the
90 // When |Enable|==false, we set back the first instruction in the sled to be
104 *reinterpret_cast<uint32_t *>(Sled.Address + 8) = encodeInstruction(
106 *reinterpret_cast<uint32_t *>(Sled.Address + 12) = encodeInstruction(
108 *reinterpret_cast<uint32_t *>(Sled.Address + 16) = encodeInstruction(
110 *reinterpret_cast<uint32_t *>(Sled.Address + 20)
    [all...]
xray_arm.cc 78 const XRaySledEntry &Sled,
81 // We replace the following compile-time stub (sled):
99 // operation, so that the user code which reaches the sled concurrently
100 // either jumps over the whole sled, or executes the whole sled when the
103 // When |Enable|==false, we set back the first instruction in the sled to be
106 uint32_t *FirstAddress = reinterpret_cast<uint32_t *>(Sled.Address);
131 const XRaySledEntry &Sled,
133 return patchSled(Enable, FuncId, Sled, Trampoline);
137 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT
    [all...]
xray_interface.cc 150 bool patchSled(const XRaySledEntry &Sled, bool Enable,
153 switch (Sled.Kind) {
155 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_FunctionEntry);
158 Success = patchFunctionExit(Enable, FuncId, Sled);
161 Success = patchFunctionTailExit(Enable, FuncId, Sled);
164 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_ArgLoggerEntry);
167 Success = patchCustomEvent(Enable, FuncId, Sled);
170 Success = patchTypedEvent(Enable, FuncId, Sled);
173 Report("Unsupported sled kind '%d' @%04x\n", Sled.Address, int(Sled.Kind))
    [all...]

Completed in 51 milliseconds