Home
last modified time | relevance | path

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

123456

/external/llvm-project/lldb/tools/compact-unwind/
Dcompact-unwind-dumper.c79 struct baton { struct
136 static void scan_macho_load_commands(struct baton *baton) { in scan_macho_load_commands() argument
141 baton->compact_unwind_start = 0; in scan_macho_load_commands()
143 uint32_t *magic = (uint32_t *)baton->mach_header_start; in scan_macho_load_commands()
154 uint8_t *offset = baton->mach_header_start; in scan_macho_load_commands()
164 baton->addr_size = 8; in scan_macho_load_commands()
166 baton->addr_size = 4; in scan_macho_load_commands()
168 baton->cputype = mh.cputype; in scan_macho_load_commands()
216 baton->text_segment_vmaddr = segment_vmaddr; in scan_macho_load_commands()
217 baton->text_segment_file_offset = segment_offset; in scan_macho_load_commands()
[all …]
/external/llvm-project/lldb/source/API/
DSBBreakpointOptionCommon.cpp43 void *baton) in SBBreakpointCallbackBaton() argument
46 getItem()->callback_baton = baton; in SBBreakpointCallbackBaton()
49 bool SBBreakpointCallbackBaton::PrivateBreakpointHitCallback(void *baton, in PrivateBreakpointHitCallback() argument
57 if (baton && bp_sp) { in PrivateBreakpointHitCallback()
58 CallbackData *data = (CallbackData *)baton; in PrivateBreakpointHitCallback()
DSBBreakpointOptionCommon.h25 void *baton);
29 static bool PrivateBreakpointHitCallback(void *baton,
/external/llvm-project/lldb/include/lldb/Interpreter/
DOptionValueString.h22 typedef Status (*ValidatorCallback)(const char *string, void *baton);
30 OptionValueString(ValidatorCallback validator, void *baton = nullptr)
32 m_validator(validator), m_validator_baton(baton) {} in OptionValue()
53 void *baton = nullptr)
55 m_validator(validator), m_validator_baton(baton) { in OptionValue()
63 ValidatorCallback validator, void *baton = nullptr)
65 m_validator(validator), m_validator_baton(baton) { in OptionValue()
/external/llvm-project/lldb/source/Core/
DEmulateInstruction.cpp211 void EmulateInstruction::SetBaton(void *baton) { m_baton = baton; } in SetBaton() argument
249 void *baton, const Context &context, in ReadMemoryFrame() argument
252 if (baton == nullptr || dst == nullptr || dst_len == 0) in ReadMemoryFrame()
255 StackFrame *frame = (StackFrame *)baton; in ReadMemoryFrame()
266 void *baton, const Context &context, in WriteMemoryFrame() argument
269 if (baton == nullptr || src == nullptr || src_len == 0) in WriteMemoryFrame()
272 StackFrame *frame = (StackFrame *)baton; in WriteMemoryFrame()
284 void *baton, in ReadRegisterFrame() argument
287 if (baton == nullptr) in ReadRegisterFrame()
290 StackFrame *frame = (StackFrame *)baton; in ReadRegisterFrame()
[all …]
DIOHandler.cpp429 void *baton) { in IsInputCompleteCallback() argument
430 IOHandlerEditline *editline_reader = (IOHandlerEditline *)baton; in IsInputCompleteCallback()
438 void *baton) { in FixIndentationCallback() argument
439 IOHandlerEditline *editline_reader = (IOHandlerEditline *)baton; in FixIndentationCallback()
445 IOHandlerEditline::SuggestionCallback(llvm::StringRef line, void *baton) { in SuggestionCallback() argument
446 IOHandlerEditline *editline_reader = static_cast<IOHandlerEditline *>(baton); in SuggestionCallback()
455 void *baton) { in AutoCompleteCallback() argument
456 IOHandlerEditline *editline_reader = (IOHandlerEditline *)baton; in AutoCompleteCallback()
/external/llvm-project/lldb/include/lldb/Host/
DEditline.h95 StringList &lines, void *baton);
99 int cursor_position, void *baton);
102 llvm::StringRef line, void *baton);
104 typedef void (*CompleteCallbackType)(CompletionRequest &request, void *baton);
191 void SetSuggestionCallback(SuggestionCallbackType callback, void *baton);
194 void SetAutoCompleteCallback(CompleteCallbackType callback, void *baton);
198 void *baton);
205 void *baton, const char *indent_chars);
/external/llvm-project/lldb/include/lldb/Core/
DEmulateInstruction.h327 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,
455 static size_t WriteMemoryDefault(EmulateInstruction *instruction, void *baton,
[all …]
/external/llvm-project/lldb/source/Plugins/Instruction/ARM/
DEmulationStateARM.cpp144 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 …]
DEmulationStateARM.h42 ReadPseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
47 WritePseudoMemory(lldb_private::EmulateInstruction *instruction, void *baton,
52 void *baton,
58 void *baton,
/external/llvm-project/lldb/include/lldb/Target/
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);
/external/llvm-project/lldb/include/lldb/
Dlldb-types.h70 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);
Dlldb-private-interfaces.h87 typedef bool (*BreakpointHitCallback)(void *baton,
91 typedef bool (*WatchpointHitCallback)(void *baton,
96 Status &status, void *baton);
99 Status &status, void *baton);
/external/llvm-project/lldb/examples/darwin/heap_find/heap/
Dheap_find.cpp119 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()
519 static void dump_malloc_block_callback(task_t task, void *baton, unsigned type, in dump_malloc_block_callback() argument
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()
529 info->range_callback(task, info->baton, type, ptrs->address, ptrs->size); in ranges_callback()
[all …]
/external/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
DUnwindAssemblyInstEmulation.h80 ReadMemory(lldb_private::EmulateInstruction *instruction, void *baton,
85 WriteMemory(lldb_private::EmulateInstruction *instruction, void *baton,
90 void *baton,
95 WriteRegister(lldb_private::EmulateInstruction *instruction, void *baton,
DUnwindAssemblyInstEmulation.cpp391 EmulateInstruction *instruction, void *baton, in ReadMemory() argument
410 EmulateInstruction *instruction, void *baton, in WriteMemory() argument
413 if (baton && dst && dst_len) in WriteMemory()
414 return ((UnwindAssemblyInstEmulation *)baton) in WriteMemory()
493 void *baton, in ReadRegister() argument
497 if (baton && reg_info) in ReadRegister()
498 return ((UnwindAssemblyInstEmulation *)baton) in ReadRegister()
522 EmulateInstruction *instruction, void *baton, in WriteRegister() argument
525 if (baton && reg_info) in WriteRegister()
526 return ((UnwindAssemblyInstEmulation *)baton) in WriteRegister()
/external/llvm-project/lldb/source/Target/
DThreadPlanShouldStopHere.cpp30 void *baton) in ThreadPlanShouldStopHere() argument
33 SetShouldStopHereCallbacks(callbacks, baton); in ThreadPlanShouldStopHere()
59 Status &status, void *baton) { in DefaultShouldStopHereCallback() argument
95 Status &status, void *baton) { in DefaultStepFromHereCallback() argument
/external/llvm-project/lldb/unittests/Core/
DStreamCallbackTest.cpp17 static void TestCallback(const char *data, void *baton) { in TestCallback() argument
19 EXPECT_EQ(&test_baton, baton); in TestCallback()
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/
DPlatformDarwinKernel.h97 FindKDKandSDKDirectoriesInDirectory(void *baton, llvm::sys::fs::file_type ft,
103 GetKernelsAndKextsInDirectoryWithRecursion(void *baton,
108 GetKernelsAndKextsInDirectoryNoRecursion(void *baton,
113 GetKernelsAndKextsInDirectoryHelper(void *baton, llvm::sys::fs::file_type ft,
/external/llvm-project/lldb/source/Utility/
DStreamCallback.cpp15 StreamCallback::StreamCallback(lldb::LogOutputCallback callback, void *baton) in StreamCallback() argument
16 : llvm::raw_ostream(true), m_callback(callback), m_baton(baton) {} in StreamCallback()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
DLua.cpp83 llvm::Error Lua::RegisterBreakpointCallback(void *baton, const char *body) { in RegisterBreakpointCallback() argument
84 lua_pushlightuserdata(m_lua_state, baton); in RegisterBreakpointCallback()
100 Lua::CallBreakpointCallback(void *baton, lldb::StackFrameSP stop_frame_sp, in CallBreakpointCallback() argument
102 lua_pushlightuserdata(m_lua_state, baton); in CallBreakpointCallback()
DLua.h34 llvm::Error RegisterBreakpointCallback(void *baton, const char *body);
36 CallBreakpointCallback(void *baton, lldb::StackFrameSP stop_frame_sp,
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DProcessFreeBSD.cpp906 static size_t ReadMemoryCallback(EmulateInstruction *instruction, void *baton, in ReadMemoryCallback() argument
909 EmulatorBaton *emulator_baton = static_cast<EmulatorBaton *>(baton); in ReadMemoryCallback()
919 static bool ReadRegisterCallback(EmulateInstruction *instruction, void *baton, in ReadRegisterCallback() argument
922 EmulatorBaton *emulator_baton = static_cast<EmulatorBaton *>(baton); in ReadRegisterCallback()
943 static bool WriteRegisterCallback(EmulateInstruction *instruction, void *baton, in WriteRegisterCallback() argument
947 EmulatorBaton *emulator_baton = static_cast<EmulatorBaton *>(baton); in WriteRegisterCallback()
953 static size_t WriteMemoryCallback(EmulateInstruction *instruction, void *baton, in WriteMemoryCallback() argument
961 void *baton, lldb_private::StoppointCallbackContext *context, in SingleStepBreakpointHit() argument
1042 EmulatorBaton baton(this, register_context_sp.get()); in SetupSoftwareSingleStepping() local
1043 emulator_up->SetBaton(&baton); in SetupSoftwareSingleStepping()
[all …]
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASan/
DInstrumentationRuntimeASan.cpp241 void *baton, StoppointCallbackContext *context, user_id_t break_id, in NotifyBreakpointHit() argument
243 assert(baton && "null baton"); in NotifyBreakpointHit()
244 if (!baton) in NotifyBreakpointHit()
248 static_cast<InstrumentationRuntimeASan *>(baton); in NotifyBreakpointHit()
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
DInstrumentationRuntimeMainThreadChecker.cpp161 void *baton, StoppointCallbackContext *context, user_id_t break_id, in NotifyBreakpointHit() argument
163 assert(baton && "null baton"); in NotifyBreakpointHit()
164 if (!baton) in NotifyBreakpointHit()
168 static_cast<InstrumentationRuntimeMainThreadChecker *>(baton); in NotifyBreakpointHit()

123456