File indexing completed on 2026-05-10 08:42:50
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLDB_INTERPRETER_OPTIONGROUPMEMORYTAG_H
0010 #define LLDB_INTERPRETER_OPTIONGROUPMEMORYTAG_H
0011
0012 #include "lldb/Interpreter/OptionValueBoolean.h"
0013 #include "lldb/Interpreter/Options.h"
0014
0015 namespace lldb_private {
0016
0017 class OptionGroupMemoryTag : public OptionGroup {
0018 public:
0019 OptionGroupMemoryTag(
0020
0021
0022 bool note_binary = false);
0023
0024 ~OptionGroupMemoryTag() override = default;
0025
0026 llvm::ArrayRef<OptionDefinition> GetDefinitions() override;
0027
0028 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
0029 ExecutionContext *execution_context) override;
0030
0031 void OptionParsingStarting(ExecutionContext *execution_context) override;
0032
0033 bool AnyOptionWasSet() const { return m_show_tags.OptionWasSet(); }
0034
0035 OptionValueBoolean GetShowTags() { return m_show_tags; };
0036
0037 protected:
0038 OptionValueBoolean m_show_tags;
0039 OptionDefinition m_option_definition;
0040 };
0041
0042 }
0043
0044 #endif