LLDB mainline
Macros | 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.


#define NUM_FRAME_OPTS   3


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


static constexpr OptionDefinition g_variable_options []

Macro Definition Documentation


#define NUM_FRAME_OPTS   3

Definition at line 131 of file OptionGroupVariable.cpp.

Function Documentation

◆ ValidateNamedSummary()

static Status ValidateNamedSummary ( const char *  str,
void *   

◆ ValidateSummaryString()

static Status ValidateSummaryString ( const char *  str,
void *   

Definition at line 63 of file OptionGroupVariable.cpp.

Variable Documentation

◆ g_variable_options

constexpr OptionDefinition g_variable_options[]
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().