Lines Matching refs:Sled

153 bool patchSled(const XRaySledEntry &Sled, bool Enable,  in patchSled()  argument
156 switch (Sled.Kind) { in patchSled()
158 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_FunctionEntry); in patchSled()
161 Success = patchFunctionExit(Enable, FuncId, Sled); in patchSled()
164 Success = patchFunctionTailExit(Enable, FuncId, Sled); in patchSled()
167 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_ArgLoggerEntry); in patchSled()
170 Success = patchCustomEvent(Enable, FuncId, Sled); in patchSled()
173 Success = patchTypedEvent(Enable, FuncId, Sled); in patchSled()
176 Report("Unsupported sled kind '%" PRIu64 "' @%04x\n", Sled.Address, in patchSled()
177 int(Sled.Kind)); in patchSled()
191 const auto &Sled = InstrMap.Sleds[I]; in findFunctionSleds() local
192 const auto Function = Sled.function(); in findFunctionSleds()
200 Index.Begin = &Sled; in findFunctionSleds()
201 Index.Size = &Sled - Index.Begin + 1; in findFunctionSleds()
304 const auto &Sled = InstrMap.Sleds[I]; in controlPatching() local
305 if (Sled.address() < MinSled->address()) in controlPatching()
306 MinSled = &Sled; in controlPatching()
307 if (Sled.address() > MaxSled->address()) in controlPatching()
308 MaxSled = &Sled; in controlPatching()
331 auto &Sled = InstrMap.Sleds[I]; in controlPatching() local
332 auto F = Sled.function(); in controlPatching()
339 patchSled(Sled, Enable, FuncId); in controlPatching()
514 const XRaySledEntry *Sled = in __xray_function_address() local
517 return Sled->function() in __xray_function_address()