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
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 // Note:
34 // eWatchRead == LLDB_WATCH_TYPE_READ; and
35 // eWatchWrite == LLDB_WATCH_TYPE_WRITE
36 enum WatchType {
41 };
42
47
48private:
52};
53
54} // namespace lldb_private
55
56#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
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.