Home
last modified time | relevance | path

Searched refs:baton (Results 1 – 25 of 108) sorted by relevance

12345

/freebsd/contrib/llvm-project/lldb/tools/compact-unwind/
H A Dcompact-unwind-dumper.c36 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 …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DNativeProcessSoftwareSingleStep.cpp36 static size_t ReadMemoryCallback(EmulateInstruction *instruction, void *baton, in ReadMemoryCallback() argument
39 EmulatorBaton *emulator_baton = static_cast<EmulatorBaton *>(baton); in ReadMemoryCallback()
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()
132 ? baton.m_register_values.end() in SetupSoftwareSingleStepping()
133 : baton.m_register_values.find( in SetupSoftwareSingleStepping()
139 assert(pc_it != baton.m_register_values.end() && in SetupSoftwareSingleStepping()
143 if (flags_it != baton.m_register_values.end()) in SetupSoftwareSingleStepping()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValueString.h22 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()
117 void SetValidator(ValidatorCallback validator, void *baton = nullptr) {
119 m_validator_baton = baton;
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBBreakpointOptionCommon.cpp42 SBBreakpointHitCallback callback, void *baton) in SBBreakpointCallbackBaton() argument
44 LLDB_INSTRUMENT_VA(this, callback, baton); in SBBreakpointCallbackBaton()
46 getItem()->callback_baton = baton; in SBBreakpointCallbackBaton()
50 void *baton, StoppointCallbackContext *ctx, lldb::user_id_t break_id, in PrivateBreakpointHitCallback() argument
52 LLDB_INSTRUMENT_VA(baton, ctx, break_id, break_loc_id); in PrivateBreakpointHitCallback()
56 if (baton && bp_sp) { in PrivateBreakpointHitCallback()
57 CallbackData *data = (CallbackData *)baton; in PrivateBreakpointHitCallback()
H A DSBBreakpointOptionCommon.h25 void *baton);
29 static bool PrivateBreakpointHitCallback(void *baton,
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DEmulateInstruction.cpp220 void EmulateInstruction::SetBaton(void *baton) { m_baton = baton; } in SetBaton() argument
261 if (baton == nullptr || dst == nullptr || dst_len == 0) in ReadMemoryFrame()
264 StackFrame *frame = (StackFrame *)baton; in ReadMemoryFrame()
278 if (baton == nullptr || src == nullptr || src_len == 0) in WriteMemoryFrame()
281 StackFrame *frame = (StackFrame *)baton; in WriteMemoryFrame()
293 void *baton, in ReadRegisterFrame() argument
296 if (baton == nullptr) in ReadRegisterFrame()
299 StackFrame *frame = (StackFrame *)baton; in ReadRegisterFrame()
307 if (baton == nullptr) in WriteRegisterFrame()
310 StackFrame *frame = (StackFrame *)baton; in WriteRegisterFrame()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DEmulateInstruction.h335 void *baton, const Context &context,
340 void *baton, const Context &context,
345 void *baton,
350 void *baton, const Context &context,
442 static size_t ReadMemoryFrame(EmulateInstruction *instruction, void *baton,
446 static size_t WriteMemoryFrame(EmulateInstruction *instruction, void *baton,
450 static bool ReadRegisterFrame(EmulateInstruction *instruction, void *baton,
454 static bool WriteRegisterFrame(EmulateInstruction *instruction, void *baton,
459 static size_t ReadMemoryDefault(EmulateInstruction *instruction, void *baton,
467 static bool ReadRegisterDefault(EmulateInstruction *instruction, void *baton,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.cpp107 EmulateInstruction *instruction, void *baton, in ReadPseudoMemory() argument
110 if (!baton) in ReadPseudoMemory()
114 EmulationStateARM *pseudo_state = (EmulationStateARM *)baton; in ReadPseudoMemory()
148 EmulateInstruction *instruction, void *baton, in WritePseudoMemory() argument
151 if (!baton) in WritePseudoMemory()
154 EmulationStateARM *pseudo_state = (EmulationStateARM *)baton; in WritePseudoMemory()
184 EmulateInstruction *instruction, void *baton, in ReadPseudoRegister() argument
187 if (!baton || !reg_info) in ReadPseudoRegister()
191 EmulationStateARM *pseudo_state = (EmulationStateARM *)baton; in ReadPseudoRegister()
203 EmulateInstruction *instruction, void *baton, in WritePseudoRegister() argument
[all …]
H A DEmulationStateARM.h41 ReadPseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
46 WritePseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
51 void *baton,
57 void *baton,
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlanShouldStopHere.h70 void *baton = nullptr);
80 void *baton) { in SetShouldStopHereCallbacks() argument
92 m_baton = baton; in SetShouldStopHereCallbacks()
112 Status &status, void *baton);
117 void *baton);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp62 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 DLua.h35 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,
H A DScriptInterpreterLua.cpp269 void *baton, StoppointCallbackContext *context, user_id_t break_id, in BreakpointCallbackFunction() argument
287 CommandDataLua *bp_option_data = static_cast<CommandDataLua *>(baton); in BreakpointCallbackFunction()
289 baton, stop_frame_sp, bp_loc_sp, bp_option_data->m_extra_args_sp); in BreakpointCallbackFunction()
299 void *baton, StoppointCallbackContext *context, user_id_t watch_id) { in WatchpointCallbackFunction() argument
316 lua.CallWatchpointCallback(baton, stop_frame_sp, wp_sp); in WatchpointCallbackFunction()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASan/
H A DInstrumentationRuntimeASan.cpp64 void *baton, StoppointCallbackContext *context, user_id_t break_id, in NotifyBreakpointHit() argument
66 assert(baton && "null baton"); in NotifyBreakpointHit()
67 if (!baton) in NotifyBreakpointHit()
71 static_cast<InstrumentationRuntimeASan *>(baton); in NotifyBreakpointHit()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/
H A DInstrumentationRuntimeASanLibsanitizers.cpp70 void *baton, StoppointCallbackContext *context, user_id_t break_id, in NotifyBreakpointHit() argument
72 assert(baton && "null baton"); in NotifyBreakpointHit()
73 if (!baton) in NotifyBreakpointHit()
77 static_cast<InstrumentationRuntimeASanLibsanitizers *>(baton); in NotifyBreakpointHit()
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-types.h72 typedef void (*LogOutputCallback)(const char *, void *baton);
73 typedef bool (*CommandOverrideCallback)(void *baton, const char **argv);
75 void *baton);
H A Dlldb-private-interfaces.h102 typedef bool (*BreakpointHitCallback)(void *baton,
106 typedef bool (*WatchpointHitCallback)(void *baton,
111 Status &status, void *baton);
114 Status &status, void *baton);
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanShouldStopHere.cpp31 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
/freebsd/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
H A DUnwindAssemblyInstEmulation.h78 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 DUnwindAssemblyInstEmulation.cpp379 EmulateInstruction *instruction, void *baton, in ReadMemory() argument
398 EmulateInstruction *instruction, void *baton, in WriteMemory() argument
401 if (baton && dst && dst_len) in WriteMemory()
402 return ((UnwindAssemblyInstEmulation *)baton) in WriteMemory()
481 void *baton, in ReadRegister() argument
485 if (baton && reg_info) in ReadRegister()
486 return ((UnwindAssemblyInstEmulation *)baton) in ReadRegister()
510 EmulateInstruction *instruction, void *baton, in WriteRegister() argument
513 if (baton && reg_info) in WriteRegister()
514 return ((UnwindAssemblyInstEmulation *)baton) in WriteRegister()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectWatchpointCommand.cpp242 WatchpointOptionsCallbackFunction(void *baton, in WatchpointOptionsCallbackFunction() argument
246 if (baton == nullptr) in WatchpointOptionsCallbackFunction()
250 (WatchpointOptions::CommandData *)baton; in WatchpointOptionsCallbackFunction()
578 const Baton *baton = wp_options->GetBaton(); in DoExecute() local
579 if (baton) { in DoExecute()
581 baton->GetDescription(result.GetOutputStream().AsRawOstream(), in DoExecute()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
H A DInstrumentationRuntimeMainThreadChecker.cpp152 void *baton, StoppointCallbackContext *context, user_id_t break_id, in NotifyBreakpointHit() argument
154 assert(baton && "null baton"); in NotifyBreakpointHit()
155 if (!baton) in NotifyBreakpointHit()
159 static_cast<InstrumentationRuntimeMainThreadChecker *>(baton); in NotifyBreakpointHit()
/freebsd/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/
H A DJITLoaderGDB.h61 JITDebugBreakpointHit(void *baton,
65 static void ProcessStateChangedCallback(void *baton,
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DWatchpoint.cpp69 void Watchpoint::SetCallback(WatchpointHitCallback callback, void *baton, in SetCallback() argument
73 m_options.SetCallback(callback, std::make_shared<UntypedBaton>(baton), in SetCallback()
129 bool Watchpoint::VariableWatchpointDisabler(void *baton, in VariableWatchpointDisabler() argument
133 assert(baton && "null baton"); in VariableWatchpointDisabler()
134 if (!baton || !context) in VariableWatchpointDisabler()
140 static_cast<WatchpointVariableContext *>(baton); in VariableWatchpointDisabler()
/freebsd/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DWatchpointOptions.h45 WatchpointOptions(WatchpointHitCallback callback, void *baton,
160 static bool NullCallback(void *baton, StoppointCallbackContext *context,

12345