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
14
15namespace lldb_private {
16
17// OptionGroupWatchpoint
18
20public:
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 {
42 };
43
48
49private:
53};
54
55} // namespace lldb_private
56
57#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
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.