File indexing completed on 2026-05-10 08:42:50
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLDB_INTERPRETER_OPTIONGROUPVARIABLE_H
0010 #define LLDB_INTERPRETER_OPTIONGROUPVARIABLE_H
0011
0012 #include "lldb/Interpreter/OptionValueString.h"
0013 #include "lldb/Interpreter/Options.h"
0014
0015 namespace lldb_private {
0016
0017
0018
0019 class OptionGroupVariable : public OptionGroup {
0020 public:
0021 OptionGroupVariable(bool show_frame_options);
0022
0023 ~OptionGroupVariable() override = default;
0024
0025 llvm::ArrayRef<OptionDefinition> GetDefinitions() override;
0026
0027 Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
0028 ExecutionContext *execution_context) override;
0029
0030 void OptionParsingStarting(ExecutionContext *execution_context) override;
0031
0032 bool include_frame_options : 1,
0033 show_args : 1,
0034 show_recognized_args : 1,
0035
0036 show_locals : 1,
0037 show_globals : 1,
0038 use_regex : 1, show_scope : 1, show_decl : 1;
0039 OptionValueString summary;
0040 OptionValueString summary_string;
0041
0042 private:
0043 OptionGroupVariable(const OptionGroupVariable &) = delete;
0044 const OptionGroupVariable &operator=(const OptionGroupVariable &) = delete;
0045 };
0046
0047 }
0048
0049 #endif