LLDB mainline
OptionGroupMemoryTag.h
Go to the documentation of this file.
1//===-- OptionGroupMemoryTag.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_OPTIONGROUPMEMORYTAG_H
10#define LLDB_INTERPRETER_OPTIONGROUPMEMORYTAG_H
11
14
15namespace lldb_private {
16
18public:
20 // Whether to note that --show-tags does not apply to binary output.
21 // "memory read" wants this but "memory find" does not.
22 bool note_binary = false);
23
24 ~OptionGroupMemoryTag() override = default;
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 bool AnyOptionWasSet() const { return m_show_tags.OptionWasSet(); }
34
36
37protected:
40};
41
42} // namespace lldb_private
43
44#endif // LLDB_INTERPRETER_OPTIONGROUPMEMORYTAG_H
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
void OptionParsingStarting(ExecutionContext *execution_context) override
~OptionGroupMemoryTag() override=default
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
An error handling class.
Definition: Status.h:44
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14