LLDB
mainline
llvm-project
lldb
source
API
SBBreakpointOptionCommon.h
Go to the documentation of this file.
1
//===-- SBBreakpointOptionCommon.h ------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLDB_SOURCE_API_SBBREAKPOINTOPTIONCOMMON_H
10
#define LLDB_SOURCE_API_SBBREAKPOINTOPTIONCOMMON_H
11
12
#include "
lldb/API/SBDefines.h
"
13
#include "
lldb/Utility/Baton.h
"
14
15
namespace
lldb
16
{
17
struct
CallbackData
{
18
SBBreakpointHitCallback
callback
;
19
void
*
callback_baton
;
20
};
21
22
class
SBBreakpointCallbackBaton
:
public
lldb_private::TypedBaton
<CallbackData> {
23
public
:
24
SBBreakpointCallbackBaton
(
SBBreakpointHitCallback
callback,
25
void
*baton);
26
27
~SBBreakpointCallbackBaton
()
override
;
28
29
static
bool
PrivateBreakpointHitCallback
(
void
*baton,
30
lldb_private::StoppointCallbackContext
*ctx,
31
lldb::user_id_t
break_id,
32
lldb::user_id_t
break_loc_id);
33
};
34
35
}
// namespace lldb
36
#endif
// LLDB_SOURCE_API_SBBREAKPOINTOPTIONCOMMON_H
Baton.h
SBDefines.h
lldb::SBBreakpointCallbackBaton
Definition:
SBBreakpointOptionCommon.h:22
lldb::SBBreakpointCallbackBaton::~SBBreakpointCallbackBaton
~SBBreakpointCallbackBaton() override
lldb::SBBreakpointCallbackBaton::PrivateBreakpointHitCallback
static bool PrivateBreakpointHitCallback(void *baton, lldb_private::StoppointCallbackContext *ctx, lldb::user_id_t break_id, lldb::user_id_t break_loc_id)
Definition:
SBBreakpointOptionCommon.cpp:49
lldb_private::StoppointCallbackContext
General Outline: When we hit a breakpoint we need to package up whatever information is needed to eva...
Definition:
StoppointCallbackContext.h:26
lldb_private::TypedBaton
Definition:
Baton.h:62
lldb
Definition:
SBAddress.h:15
lldb::SBBreakpointHitCallback
bool(* SBBreakpointHitCallback)(void *baton, lldb::SBProcess &process, lldb::SBThread &thread, lldb::SBBreakpointLocation &location)
Definition:
SBDefines.h:138
lldb::user_id_t
uint64_t user_id_t
Definition:
lldb-types.h:82
lldb::CallbackData
Definition:
SBBreakpointOptionCommon.h:17
lldb::CallbackData::callback_baton
void * callback_baton
Definition:
SBBreakpointOptionCommon.h:19
lldb::CallbackData::callback
SBBreakpointHitCallback callback
Definition:
SBBreakpointOptionCommon.h:18
Generated on Wed Nov 20 2024 18:14:41 for LLDB by
1.9.6