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 
14 namespace lldb_private {
15 
16 // OptionGroupWatchpoint
17 
19 public:
21 
22  ~OptionGroupWatchpoint() override;
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  Status SetOptionValue(uint32_t, const char *, ExecutionContext *) = delete;
31 
32  void OptionParsingStarting(ExecutionContext *execution_context) override;
33 
34  // Note:
35  // eWatchRead == LLDB_WATCH_TYPE_READ; and
36  // eWatchWrite == LLDB_WATCH_TYPE_WRITE
37  enum WatchType {
42  };
43 
47 
48 private:
50  const OptionGroupWatchpoint &
51  operator=(const OptionGroupWatchpoint &) = delete;
52 };
53 
54 } // namespace lldb_private
55 
56 #endif // LLDB_INTERPRETER_OPTIONGROUPWATCHPOINT_H
static bool IsWatchSizeSupported(uint32_t watch_size)
A class that represents a running process on the host machine.
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
void OptionParsingStarting(ExecutionContext *execution_context) override
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
const OptionGroupWatchpoint & operator=(const OptionGroupWatchpoint &)=delete
An error handling class.
Definition: Status.h:44