LLDB mainline
Functions | Variables
OptionGroupVariable.cpp File Reference
#include "lldb/Interpreter/OptionGroupVariable.h"
#include "lldb/DataFormatters/DataVisualization.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/Status.h"

Go to the source code of this file.

Functions

static Status ValidateNamedSummary (const char *str, void *)
 
static Status ValidateSummaryString (const char *str, void *)
 

Variables

static constexpr OptionDefinition g_variable_options []
 
static constexpr auto g_num_frame_options = 4
 
static const auto g_variable_options_noframe
 

Function Documentation

◆ ValidateNamedSummary()

static Status ValidateNamedSummary ( const char *  str,
void *   
)
static

◆ ValidateSummaryString()

static Status ValidateSummaryString ( const char *  str,
void *   
)
static

Definition at line 68 of file OptionGroupVariable.cpp.

Variable Documentation

◆ g_num_frame_options

constexpr auto g_num_frame_options = 4
staticconstexpr

Definition at line 53 of file OptionGroupVariable.cpp.

◆ g_variable_options

constexpr OptionDefinition g_variable_options[]
staticconstexpr
Initial value:
= {
{LLDB_OPT_SET_1 | LLDB_OPT_SET_2, false, "no-args", 'a',
"Omit function arguments."},
{LLDB_OPT_SET_1 | LLDB_OPT_SET_2, false, "no-recognized-args", 't',
"Omit recognized function arguments."},
{LLDB_OPT_SET_1 | LLDB_OPT_SET_2, false, "no-locals", 'l',
"Omit local variables."},
{LLDB_OPT_SET_1 | LLDB_OPT_SET_2, false, "show-globals", 'g',
"Show the current frame source file global and static variables."},
{LLDB_OPT_SET_1 | LLDB_OPT_SET_2, false, "show-declaration", 'c',
"Show variable declaration information (source file and line where the "
"variable was declared)."},
{LLDB_OPT_SET_1 | LLDB_OPT_SET_2, false, "regex", 'r',
"The <variable-name> argument for name lookups are regular expressions."},
{LLDB_OPT_SET_1 | LLDB_OPT_SET_2, false, "scope", 's',
"Show variable scope (argument, local, global, static)."},
nullptr, {}, 0, eArgTypeName,
"Specify the summary that the variable output should use."},
{LLDB_OPT_SET_2, false, "summary-string", 'z',
"Specify a summary string to use to format the variable output."},
}
#define LLDB_OPT_SET_1
Definition: lldb-defines.h:111
#define LLDB_OPT_SET_2
Definition: lldb-defines.h:112
@ eArgTypeRegularExpression

Definition at line 22 of file OptionGroupVariable.cpp.

Referenced by lldb_private::OptionGroupVariable::GetDefinitions(), and lldb_private::OptionGroupVariable::SetOptionValue().

◆ g_variable_options_noframe

const auto g_variable_options_noframe
static
Initial value:
=
llvm::ArrayRef<OptionDefinition>(g_variable_options)
.drop_front(g_num_frame_options)
static constexpr OptionDefinition g_variable_options[]
static constexpr auto g_num_frame_options

Definition at line 54 of file OptionGroupVariable.cpp.

Referenced by lldb_private::OptionGroupVariable::GetDefinitions(), and lldb_private::OptionGroupVariable::SetOptionValue().