LLDB mainline
|
#include <SBBreakpointOptionCommon.h>
Public Member Functions | |
SBBreakpointCallbackBaton (SBBreakpointHitCallback callback, void *baton) | |
~SBBreakpointCallbackBaton () override | |
Public Member Functions inherited from lldb_private::TypedBaton< CallbackData > | |
TypedBaton (std::unique_ptr< CallbackData > Item) | |
CallbackData * | getItem () |
const CallbackData * | getItem () const |
void * | data () override |
void | GetDescription (llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const override |
Public Member Functions inherited from lldb_private::Baton | |
Baton ()=default | |
virtual | ~Baton ()=default |
virtual void * | data ()=0 |
virtual void | GetDescription (llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const =0 |
Static Public Member Functions | |
static bool | PrivateBreakpointHitCallback (void *baton, lldb_private::StoppointCallbackContext *ctx, lldb::user_id_t break_id, lldb::user_id_t break_loc_id) |
Additional Inherited Members | |
Protected Attributes inherited from lldb_private::TypedBaton< CallbackData > | |
std::unique_ptr< CallbackData > | Item |
Definition at line 22 of file SBBreakpointOptionCommon.h.
SBBreakpointCallbackBaton::SBBreakpointCallbackBaton | ( | SBBreakpointHitCallback | callback, |
void * | baton | ||
) |
Definition at line 41 of file SBBreakpointOptionCommon.cpp.
References lldb::CallbackData::callback, lldb::CallbackData::callback_baton, lldb_private::TypedBaton< CallbackData >::getItem(), and LLDB_INSTRUMENT_VA.
|
overridedefault |
|
static |
Definition at line 49 of file SBBreakpointOptionCommon.cpp.
References lldb_private::TypedBaton< CallbackData >::data(), lldb_private::StoppointCallbackContext::exe_ctx_ref, lldb_private::BreakpointList::FindBreakpointByID(), lldb_private::Target::GetBreakpointList(), lldb_private::ExecutionContext::GetProcessPtr(), lldb_private::ExecutionContext::GetTargetRef(), lldb_private::ExecutionContext::GetThreadPtr(), LLDB_INSTRUMENT_VA, lldb::SBBreakpointLocation::SetLocation(), and lldb::SBThread::SetThread().
Referenced by lldb::SBBreakpointLocation::SetCallback().