LLDB mainline
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
13
14namespace lldb_private {
15
16// OptionGroupWatchpoint
17
19public:
21
22 ~OptionGroupWatchpoint() override = default;
23
24 static bool IsWatchSizeSupported(uint32_t watch_size);
25
26 llvm::ArrayRef<OptionDefinition> GetDefinitions() override;
27
28 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
29 ExecutionContext *execution_context) override;
30
31 void OptionParsingStarting(ExecutionContext *execution_context) override;
32
33 /// eWatchRead == LLDB_WATCH_TYPE_READ
34 /// eWatchWrite == LLDB_WATCH_TYPE_WRITE
35 /// eWatchModify == LLDB_WATCH_TYPE_MODIFY
36 /// eWatchReadWrite == LLDB_WATCH_TYPE_READ | LLDB_WATCH_TYPE_WRITE
37 enum WatchType {
43 };
44
46 uint32_t watch_size;
49
50private:
54};
55
56} // namespace lldb_private
57
58#endif // LLDB_INTERPRETER_OPTIONGROUPWATCHPOINT_H
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
WatchType
eWatchRead == LLDB_WATCH_TYPE_READ eWatchWrite == LLDB_WATCH_TYPE_WRITE eWatchModify == LLDB_WATCH_TY...
void OptionParsingStarting(ExecutionContext *execution_context) override
const OptionGroupWatchpoint & operator=(const OptionGroupWatchpoint &)=delete
~OptionGroupWatchpoint() override=default
OptionGroupWatchpoint(const OptionGroupWatchpoint &)=delete
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
static bool IsWatchSizeSupported(uint32_t watch_size)
An error handling class.
Definition: Status.h:44
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14
LanguageType
Programming language type.