LLDB
mainline
llvm-project
lldb
include
lldb
Interpreter
OptionGroupWatchpoint.h
Go to the documentation of this file.
1
//===-- OptionGroupWatchpoint.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_INTERPRETER_OPTIONGROUPWATCHPOINT_H
10
#define LLDB_INTERPRETER_OPTIONGROUPWATCHPOINT_H
11
12
#include "
lldb/Interpreter/OptionValueUInt64.h
"
13
#include "
lldb/Interpreter/Options.h
"
14
15
namespace
lldb_private
{
16
17
// OptionGroupWatchpoint
18
19
class
OptionGroupWatchpoint
:
public
OptionGroup
{
20
public
:
21
OptionGroupWatchpoint
() =
default
;
22
23
~OptionGroupWatchpoint
()
override
=
default
;
24
25
llvm::ArrayRef<OptionDefinition>
GetDefinitions
()
override
;
26
27
Status
SetOptionValue
(uint32_t option_idx, llvm::StringRef option_value,
28
ExecutionContext
*execution_context)
override
;
29
30
void
OptionParsingStarting
(
ExecutionContext
*execution_context)
override
;
31
32
/// eWatchRead == LLDB_WATCH_TYPE_READ
33
/// eWatchWrite == LLDB_WATCH_TYPE_WRITE
34
/// eWatchModify == LLDB_WATCH_TYPE_MODIFY
35
/// eWatchReadWrite == LLDB_WATCH_TYPE_READ | LLDB_WATCH_TYPE_WRITE
36
enum
WatchType
{
37
eWatchInvalid
= 0,
38
eWatchRead
,
39
eWatchWrite
,
40
eWatchModify
,
41
eWatchReadWrite
42
};
43
44
WatchType
watch_type
;
45
OptionValueUInt64
watch_size
;
46
bool
watch_type_specified
;
47
lldb::LanguageType
language_type
;
48
49
private
:
50
OptionGroupWatchpoint
(
const
OptionGroupWatchpoint
&) =
delete
;
51
const
OptionGroupWatchpoint
&
52
operator=
(
const
OptionGroupWatchpoint
&) =
delete
;
53
};
54
55
}
// namespace lldb_private
56
57
#endif
// LLDB_INTERPRETER_OPTIONGROUPWATCHPOINT_H
OptionValueUInt64.h
Options.h
lldb_private::ExecutionContext
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
Definition:
ExecutionContext.h:292
lldb_private::OptionGroupWatchpoint
Definition:
OptionGroupWatchpoint.h:19
lldb_private::OptionGroupWatchpoint::language_type
lldb::LanguageType language_type
Definition:
OptionGroupWatchpoint.h:47
lldb_private::OptionGroupWatchpoint::watch_size
OptionValueUInt64 watch_size
Definition:
OptionGroupWatchpoint.h:45
lldb_private::OptionGroupWatchpoint::SetOptionValue
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
Definition:
OptionGroupWatchpoint.cpp:61
lldb_private::OptionGroupWatchpoint::WatchType
WatchType
eWatchRead == LLDB_WATCH_TYPE_READ eWatchWrite == LLDB_WATCH_TYPE_WRITE eWatchModify == LLDB_WATCH_TY...
Definition:
OptionGroupWatchpoint.h:36
lldb_private::OptionGroupWatchpoint::eWatchModify
@ eWatchModify
Definition:
OptionGroupWatchpoint.h:40
lldb_private::OptionGroupWatchpoint::eWatchRead
@ eWatchRead
Definition:
OptionGroupWatchpoint.h:38
lldb_private::OptionGroupWatchpoint::eWatchWrite
@ eWatchWrite
Definition:
OptionGroupWatchpoint.h:39
lldb_private::OptionGroupWatchpoint::eWatchInvalid
@ eWatchInvalid
Definition:
OptionGroupWatchpoint.h:37
lldb_private::OptionGroupWatchpoint::eWatchReadWrite
@ eWatchReadWrite
Definition:
OptionGroupWatchpoint.h:41
lldb_private::OptionGroupWatchpoint::OptionParsingStarting
void OptionParsingStarting(ExecutionContext *execution_context) override
Definition:
OptionGroupWatchpoint.cpp:103
lldb_private::OptionGroupWatchpoint::operator=
const OptionGroupWatchpoint & operator=(const OptionGroupWatchpoint &)=delete
lldb_private::OptionGroupWatchpoint::~OptionGroupWatchpoint
~OptionGroupWatchpoint() override=default
lldb_private::OptionGroupWatchpoint::OptionGroupWatchpoint
OptionGroupWatchpoint(const OptionGroupWatchpoint &)=delete
lldb_private::OptionGroupWatchpoint::watch_type
WatchType watch_type
Definition:
OptionGroupWatchpoint.h:44
lldb_private::OptionGroupWatchpoint::watch_type_specified
bool watch_type_specified
Definition:
OptionGroupWatchpoint.h:46
lldb_private::OptionGroupWatchpoint::GetDefinitions
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
Definition:
OptionGroupWatchpoint.cpp:111
lldb_private::OptionGroupWatchpoint::OptionGroupWatchpoint
OptionGroupWatchpoint()=default
lldb_private::OptionGroup
Definition:
Options.h:234
lldb_private::OptionValueUInt64
Definition:
OptionValueUInt64.h:17
lldb_private::Status
An error handling class.
Definition:
Status.h:44
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb::LanguageType
LanguageType
Programming language type.
Definition:
lldb-enumerations.h:461
Generated on Tue Dec 17 2024 13:14:47 for LLDB by
1.9.6