| /llvm-project-15.0.7/lldb/tools/compact-unwind/ |
| H A D | compact-unwind-dumper.c | 36 struct baton { struct 93 static void scan_macho_load_commands(struct baton *baton) { in scan_macho_load_commands() argument 290 baton->symbols[baton->symbols_count].file_address = in scan_macho_load_commands() 292 baton->symbols[baton->symbols_count].name = in scan_macho_load_commands() 322 baton->symbols[baton->symbols_count].name = in scan_macho_load_commands() 1171 print_encoding(baton, baton.mach_header_start + in print_function_encoding() 1225 void print_second_level_index_regular(struct baton baton) { in print_second_level_index_regular() argument 1295 void print_second_level_index(struct baton baton) { in print_second_level_index() argument 1326 void print_index_sections(struct baton baton) { in print_index_sections() argument 1354 baton.lsda_array_end = baton.compact_unwind_start + in print_index_sections() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | NativeProcessSoftwareSingleStep.cpp | 36 static size_t ReadMemoryCallback(EmulateInstruction *instruction, void *baton, in ReadMemoryCallback() argument 39 EmulatorBaton *emulator_baton = static_cast<EmulatorBaton *>(baton); in ReadMemoryCallback() 46 static bool ReadRegisterCallback(EmulateInstruction *instruction, void *baton, in ReadRegisterCallback() argument 49 EmulatorBaton *emulator_baton = static_cast<EmulatorBaton *>(baton); in ReadRegisterCallback() 77 EmulatorBaton *emulator_baton = static_cast<EmulatorBaton *>(baton); in WriteRegisterCallback() 111 EmulatorBaton baton(process, register_context); in SetupSoftwareSingleStepping() local 112 emulator_up->SetBaton(&baton); in SetupSoftwareSingleStepping() 130 baton.m_register_values.find(reg_info_pc->kinds[eRegisterKindDWARF]); in SetupSoftwareSingleStepping() 137 assert(pc_it != baton.m_register_values.end() && in SetupSoftwareSingleStepping() 141 if (flags_it != baton.m_register_values.end()) in SetupSoftwareSingleStepping() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueString.h | 22 typedef Status (*ValidatorCallback)(const char *string, void *baton); 28 OptionValueString(ValidatorCallback validator, void *baton = nullptr) 29 : m_validator(validator), m_validator_baton(baton) {} in m_validator() 46 void *baton = nullptr) 47 : m_validator(validator), m_validator_baton(baton) { in m_validator() 55 ValidatorCallback validator, void *baton = nullptr) 56 : m_validator(validator), m_validator_baton(baton) { in m_validator() 113 void SetValidator(ValidatorCallback validator, void *baton = nullptr) { 115 m_validator_baton = baton;
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBBreakpointOptionCommon.cpp | 43 SBBreakpointHitCallback callback, void *baton) in SBBreakpointCallbackBaton() argument 45 LLDB_INSTRUMENT_VA(this, callback, baton); in SBBreakpointCallbackBaton() 47 getItem()->callback_baton = baton; in SBBreakpointCallbackBaton() 51 void *baton, StoppointCallbackContext *ctx, lldb::user_id_t break_id, in PrivateBreakpointHitCallback() argument 53 LLDB_INSTRUMENT_VA(baton, ctx, break_id, break_loc_id); in PrivateBreakpointHitCallback() 57 if (baton && bp_sp) { in PrivateBreakpointHitCallback() 58 CallbackData *data = (CallbackData *)baton; in PrivateBreakpointHitCallback()
|
| H A D | SBBreakpointOptionCommon.h | 25 void *baton); 29 static bool PrivateBreakpointHitCallback(void *baton,
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | EmulateInstruction.cpp | 210 void EmulateInstruction::SetBaton(void *baton) { m_baton = baton; } in SetBaton() argument 251 if (baton == nullptr || dst == nullptr || dst_len == 0) in ReadMemoryFrame() 254 StackFrame *frame = (StackFrame *)baton; in ReadMemoryFrame() 268 if (baton == nullptr || src == nullptr || src_len == 0) in WriteMemoryFrame() 271 StackFrame *frame = (StackFrame *)baton; in WriteMemoryFrame() 283 void *baton, in ReadRegisterFrame() argument 286 if (baton == nullptr) in ReadRegisterFrame() 289 StackFrame *frame = (StackFrame *)baton; in ReadRegisterFrame() 297 if (baton == nullptr) in WriteRegisterFrame() 300 StackFrame *frame = (StackFrame *)baton; in WriteRegisterFrame() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | EmulateInstruction.h | 327 void *baton, const Context &context, 332 void *baton, const Context &context, 337 void *baton, 342 void *baton, const Context &context, 434 static size_t ReadMemoryFrame(EmulateInstruction *instruction, void *baton, 438 static size_t WriteMemoryFrame(EmulateInstruction *instruction, void *baton, 442 static bool ReadRegisterFrame(EmulateInstruction *instruction, void *baton, 446 static bool WriteRegisterFrame(EmulateInstruction *instruction, void *baton, 451 static size_t ReadMemoryDefault(EmulateInstruction *instruction, void *baton, 459 static bool ReadRegisterDefault(EmulateInstruction *instruction, void *baton, [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | ThreadPlanShouldStopHere.h | 70 void *baton = nullptr); 80 void *baton) { in SetShouldStopHereCallbacks() argument 92 m_baton = baton; in SetShouldStopHereCallbacks() 112 Status &status, void *baton); 117 void *baton);
|
| /llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Lua/ |
| H A D | Lua.cpp | 62 llvm::Error Lua::RegisterBreakpointCallback(void *baton, const char *body) { in RegisterBreakpointCallback() argument 63 lua_pushlightuserdata(m_lua_state, baton); in RegisterBreakpointCallback() 79 Lua::CallBreakpointCallback(void *baton, lldb::StackFrameSP stop_frame_sp, in CallBreakpointCallback() argument 83 lua_pushlightuserdata(m_lua_state, baton); in CallBreakpointCallback() 90 llvm::Error Lua::RegisterWatchpointCallback(void *baton, const char *body) { in RegisterWatchpointCallback() argument 91 lua_pushlightuserdata(m_lua_state, baton); in RegisterWatchpointCallback() 107 Lua::CallWatchpointCallback(void *baton, lldb::StackFrameSP stop_frame_sp, in CallWatchpointCallback() argument 110 lua_pushlightuserdata(m_lua_state, baton); in CallWatchpointCallback()
|
| H A D | Lua.h | 35 llvm::Error RegisterBreakpointCallback(void *baton, const char *body); 37 CallBreakpointCallback(void *baton, lldb::StackFrameSP stop_frame_sp, 40 llvm::Error RegisterWatchpointCallback(void *baton, const char *body); 41 llvm::Expected<bool> CallWatchpointCallback(void *baton,
|
| /llvm-project-15.0.7/lldb/include/lldb/ |
| H A D | lldb-types.h | 70 typedef void (*LogOutputCallback)(const char *, void *baton); 71 typedef bool (*CommandOverrideCallback)(void *baton, const char **argv); 73 void *baton, const char **argv, lldb_private::CommandReturnObject &result); 75 void *baton);
|
| H A D | lldb-private-interfaces.h | 89 typedef bool (*BreakpointHitCallback)(void *baton, 93 typedef bool (*WatchpointHitCallback)(void *baton, 98 Status &status, void *baton); 101 Status &status, void *baton);
|
| /llvm-project-15.0.7/lldb/source/Plugins/Instruction/ARM/ |
| H A D | EmulationStateARM.cpp | 144 EmulateInstruction *instruction, void *baton, in ReadPseudoMemory() argument 147 if (!baton) in ReadPseudoMemory() 151 EmulationStateARM *pseudo_state = (EmulationStateARM *)baton; in ReadPseudoMemory() 185 EmulateInstruction *instruction, void *baton, in WritePseudoMemory() argument 188 if (!baton) in WritePseudoMemory() 191 EmulationStateARM *pseudo_state = (EmulationStateARM *)baton; in WritePseudoMemory() 221 EmulateInstruction *instruction, void *baton, in ReadPseudoRegister() argument 224 if (!baton || !reg_info) in ReadPseudoRegister() 228 EmulationStateARM *pseudo_state = (EmulationStateARM *)baton; in ReadPseudoRegister() 240 EmulateInstruction *instruction, void *baton, in WritePseudoRegister() argument [all …]
|
| H A D | EmulationStateARM.h | 43 ReadPseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton, 48 WritePseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton, 53 void *baton, 59 void *baton,
|
| /llvm-project-15.0.7/lldb/examples/darwin/heap_find/heap/ |
| H A D | heap_find.cpp | 119 static void range_info_callback(task_t task, void *baton, unsigned type, 131 typedef void range_callback_t(task_t task, void *baton, unsigned type, 138 void *baton; member 491 ((range_contains_data_callback_info_t *)info->baton)->unique = true; in foreach_zone_in_this_process() 508 range_info_callback(task, info->baton, stack_logging_type_vm_region, in foreach_zone_in_this_process() 522 task, baton, type, ptr_addr, ptr_size); in dump_malloc_block_callback() 525 static void ranges_callback(task_t task, void *baton, unsigned type, in ranges_callback() argument 527 range_callback_info_t *info = (range_callback_info_t *)baton; in ranges_callback() 535 range_callback_info_t *info = (range_callback_info_t *)baton; in enumerate_range_in_zone() 543 static void range_info_callback(task_t task, void *baton, unsigned type, in range_info_callback() argument [all …]
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | ThreadPlanShouldStopHere.cpp | 31 void *baton) in ThreadPlanShouldStopHere() argument 34 SetShouldStopHereCallbacks(callbacks, baton); in ThreadPlanShouldStopHere() 60 Status &status, void *baton) { in DefaultShouldStopHereCallback() argument 96 Status &status, void *baton) { in DefaultStepFromHereCallback() argument
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/ |
| H A D | PlatformDarwinKernel.h | 100 FindKDKandSDKDirectoriesInDirectory(void *baton, llvm::sys::fs::file_type ft, 106 GetKernelsAndKextsInDirectoryWithRecursion(void *baton, 111 GetKernelsAndKextsInDirectoryNoRecursion(void *baton, 116 GetKernelsAndKextsInDirectoryHelper(void *baton, llvm::sys::fs::file_type ft,
|
| /llvm-project-15.0.7/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
| H A D | UnwindAssemblyInstEmulation.h | 78 ReadMemory(lldb_private::EmulateInstruction *instruction, void *baton, 83 WriteMemory(lldb_private::EmulateInstruction *instruction, void *baton, 88 void *baton, 93 WriteRegister(lldb_private::EmulateInstruction *instruction, void *baton,
|
| H A D | UnwindAssemblyInstEmulation.cpp | 382 EmulateInstruction *instruction, void *baton, in ReadMemory() argument 401 EmulateInstruction *instruction, void *baton, in WriteMemory() argument 404 if (baton && dst && dst_len) in WriteMemory() 405 return ((UnwindAssemblyInstEmulation *)baton) in WriteMemory() 484 void *baton, in ReadRegister() argument 488 if (baton && reg_info) in ReadRegister() 489 return ((UnwindAssemblyInstEmulation *)baton) in ReadRegister() 513 EmulateInstruction *instruction, void *baton, in WriteRegister() argument 516 if (baton && reg_info) in WriteRegister() 517 return ((UnwindAssemblyInstEmulation *)baton) in WriteRegister()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectWatchpointCommand.cpp | 242 WatchpointOptionsCallbackFunction(void *baton, in WatchpointOptionsCallbackFunction() argument 246 if (baton == nullptr) in WatchpointOptionsCallbackFunction() 250 (WatchpointOptions::CommandData *)baton; in WatchpointOptionsCallbackFunction() 580 const Baton *baton = wp_options->GetBaton(); in DoExecute() local 581 if (baton) { in DoExecute() 583 baton->GetDescription(result.GetOutputStream().AsRawOstream(), in DoExecute()
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/ASan/ |
| H A D | InstrumentationRuntimeASan.cpp | 239 void *baton, StoppointCallbackContext *context, user_id_t break_id, in NotifyBreakpointHit() argument 241 assert(baton && "null baton"); in NotifyBreakpointHit() 242 if (!baton) in NotifyBreakpointHit() 246 static_cast<InstrumentationRuntimeASan *>(baton); in NotifyBreakpointHit()
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/ |
| H A D | InstrumentationRuntimeMainThreadChecker.cpp | 151 void *baton, StoppointCallbackContext *context, user_id_t break_id, in NotifyBreakpointHit() argument 153 assert(baton && "null baton"); in NotifyBreakpointHit() 154 if (!baton) in NotifyBreakpointHit() 158 static_cast<InstrumentationRuntimeMainThreadChecker *>(baton); in NotifyBreakpointHit()
|
| /llvm-project-15.0.7/lldb/tools/lldb-vscode/ |
| H A D | BreakpointBase.cpp | 117 void *baton, lldb::SBProcess &process, lldb::SBThread &thread, in BreakpointHitCallback() argument 119 if (!baton) in BreakpointHitCallback() 122 BreakpointBase *bp = (BreakpointBase *)baton; in BreakpointHitCallback()
|
| /llvm-project-15.0.7/lldb/source/Plugins/JITLoader/GDB/ |
| H A D | JITLoaderGDB.h | 61 JITDebugBreakpointHit(void *baton, 65 static void ProcessStateChangedCallback(void *baton,
|
| /llvm-project-15.0.7/lldb/include/lldb/Breakpoint/ |
| H A D | WatchpointOptions.h | 45 WatchpointOptions(WatchpointHitCallback callback, void *baton, 165 static bool NullCallback(void *baton, StoppointCallbackContext *context,
|