LLDB
mainline
llvm-project
lldb
include
lldb
API
SBWatchpointOptions.h
Go to the documentation of this file.
1
//===-- SBWatchpointOptions.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_API_SBWATCHPOINTOPTIONS_H
10
#define LLDB_API_SBWATCHPOINTOPTIONS_H
11
12
#include "
lldb/API/SBDefines.h
"
13
14
class
WatchpointOptionsImpl
;
15
16
namespace
lldb
{
17
18
class
LLDB_API
SBWatchpointOptions
{
19
public
:
20
SBWatchpointOptions
();
21
22
SBWatchpointOptions
(
const
lldb::SBWatchpointOptions
&rhs);
23
24
~SBWatchpointOptions
();
25
26
const
SBWatchpointOptions
&operator=(
const
lldb::SBWatchpointOptions
&rhs);
27
28
/// Stop when the watched memory region is read.
29
void
SetWatchpointTypeRead(
bool
read);
30
bool
GetWatchpointTypeRead()
const
;
31
32
/// Stop when the watched memory region is written to/modified
33
void
SetWatchpointTypeWrite(
lldb::WatchpointWriteType
write_type);
34
lldb::WatchpointWriteType
GetWatchpointTypeWrite()
const
;
35
36
private
:
37
// This auto_pointer is made in the constructor and is always valid.
38
mutable
std::unique_ptr<WatchpointOptionsImpl>
m_opaque_up
;
39
};
40
41
}
// namespace lldb
42
43
#endif
// LLDB_API_SBWATCHPOINTOPTIONS_H
SBDefines.h
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
WatchpointOptionsImpl
Definition:
SBWatchpointOptions.cpp:18
lldb::SBWatchpointOptions
Definition:
SBWatchpointOptions.h:18
lldb::SBWatchpointOptions::m_opaque_up
std::unique_ptr< WatchpointOptionsImpl > m_opaque_up
Definition:
SBWatchpointOptions.h:38
lldb::SBWatchpointOptions::~SBWatchpointOptions
~SBWatchpointOptions()
lldb
Definition:
SBAddress.h:15
lldb::WatchpointWriteType
WatchpointWriteType
Definition:
lldb-enumerations.h:437
Generated on Wed Nov 20 2024 18:14:32 for LLDB by
1.9.6