LLDB
mainline
llvm-project
lldb
source
Breakpoint
StoppointCallbackContext.cpp
Go to the documentation of this file.
1
//===-- StoppointCallbackContext.cpp --------------------------------------===//
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
#include "
lldb/Breakpoint/StoppointCallbackContext.h
"
10
11
using namespace
lldb_private
;
12
13
StoppointCallbackContext::StoppointCallbackContext
() =
default
;
14
15
StoppointCallbackContext::StoppointCallbackContext
(
16
Event
*e,
const
ExecutionContext
&exe_ctx,
bool
synchronously)
17
:
event
(e),
exe_ctx_ref
(exe_ctx),
is_synchronous
(synchronously) {}
18
19
void
StoppointCallbackContext::Clear
() {
20
event
=
nullptr
;
21
exe_ctx_ref
.Clear();
22
is_synchronous
=
false
;
23
}
StoppointCallbackContext.h
lldb_private::Event
Definition
Event.h:179
lldb_private::ExecutionContext
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
Definition
ExecutionContext.h:293
lldb_private::StoppointCallbackContext::StoppointCallbackContext
StoppointCallbackContext()
lldb_private::StoppointCallbackContext::event
Event * event
Definition
StoppointCallbackContext.h:40
lldb_private::StoppointCallbackContext::exe_ctx_ref
ExecutionContextRef exe_ctx_ref
Definition
StoppointCallbackContext.h:43
lldb_private::StoppointCallbackContext::is_synchronous
bool is_synchronous
Definition
StoppointCallbackContext.h:44
lldb_private::StoppointCallbackContext::Clear
void Clear()
Clear the object's state.
Definition
StoppointCallbackContext.cpp:19
lldb_private
A class that represents a running process on the host machine.
Definition
SBAddressRange.h:14
Generated on
for LLDB by
1.14.0