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"
Include dependency graph for OptionGroupVariable.cpp:

Go to the source code of this file.

Macros

#define NUM_FRAME_OPTS   3
 

Functions

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

Variables

static constexpr OptionDefinition g_variable_options []
 

Macro Definition Documentation

◆ NUM_FRAME_OPTS

#define NUM_FRAME_OPTS   3

Function Documentation

◆ ValidateNamedSummary()

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

Definition at line 53 of file OptionGroupVariable.cpp.

◆ ValidateSummaryString()

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

Definition at line 63 of file OptionGroupVariable.cpp.

Variable Documentation

◆ g_variable_options

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

Definition at line 22 of file OptionGroupVariable.cpp.

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