LLDB  mainline
Classes | Macros | Functions | Variables
CommandObjectType.cpp File Reference
#include "CommandObjectType.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/IOHandler.h"
#include "lldb/DataFormatters/DataVisualization.h"
#include "lldb/Host/Config.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandObject.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/OptionArgParser.h"
#include "lldb/Interpreter/OptionGroupFormat.h"
#include "lldb/Interpreter/OptionValueBoolean.h"
#include "lldb/Interpreter/OptionValueLanguage.h"
#include "lldb/Interpreter/OptionValueString.h"
#include "lldb/Interpreter/Options.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Target/Language.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/RegularExpression.h"
#include "lldb/Utility/StringList.h"
#include "llvm/ADT/STLExtras.h"
#include <algorithm>
#include <functional>
#include <memory>
#include "CommandOptions.inc"
Include dependency graph for CommandObjectType.cpp:

Go to the source code of this file.

Classes

class  ScriptAddOptions
 
class  SynthAddOptions
 
class  CommandObjectTypeSummaryAdd
 
class  CommandObjectTypeSummaryAdd::CommandOptions
 
class  CommandObjectTypeSynthAdd
 
class  CommandObjectTypeSynthAdd::CommandOptions
 
class  CommandObjectTypeFormatAdd
 
class  CommandObjectTypeFormatAdd::CommandOptions
 
class  CommandObjectTypeFormatterDelete
 
class  CommandObjectTypeFormatterDelete::CommandOptions
 
class  CommandObjectTypeFormatterClear
 
class  CommandObjectTypeFormatterClear::CommandOptions
 
class  CommandObjectTypeFormatDelete
 
class  CommandObjectTypeFormatClear
 
class  CommandObjectTypeFormatterList< FormatterType >
 
class  CommandObjectTypeFormatterList< FormatterType >::CommandOptions
 
class  CommandObjectTypeFormatList
 

Macros

#define CHECK_FORMATTER_KIND_MASK(VAL)   ((m_formatter_kind_mask & (VAL)) == (VAL))
 
#define LLDB_OPTIONS_type_summary_add
 
#define LLDB_OPTIONS_type_synth_add
 
#define LLDB_OPTIONS_type_format_add
 
#define LLDB_OPTIONS_type_formatter_delete
 
#define LLDB_OPTIONS_type_formatter_clear
 
#define LLDB_OPTIONS_type_formatter_list
 
#define LLDB_OPTIONS_type_category_define
 
#define LLDB_OPTIONS_type_category_enable
 
#define LLDB_OPTIONS_type_category_disable
 
#define LLDB_OPTIONS_type_filter_add
 
#define LLDB_OPTIONS_type_lookup
 

Functions

static bool WarnOnPotentialUnquotedUnsignedType (Args &command, CommandReturnObject &result)
 
static bool FixArrayTypeNameWithRegex (ConstString &type_name)
 

Variables

static const char * g_synth_addreader_instructions
 

Macro Definition Documentation

◆ CHECK_FORMATTER_KIND_MASK

#define CHECK_FORMATTER_KIND_MASK (   VAL)    ((m_formatter_kind_mask & (VAL)) == (VAL))

Definition at line 40 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_category_define

#define LLDB_OPTIONS_type_category_define

◆ LLDB_OPTIONS_type_category_disable

#define LLDB_OPTIONS_type_category_disable

◆ LLDB_OPTIONS_type_category_enable

#define LLDB_OPTIONS_type_category_enable

◆ LLDB_OPTIONS_type_filter_add

#define LLDB_OPTIONS_type_filter_add

◆ LLDB_OPTIONS_type_format_add

#define LLDB_OPTIONS_type_format_add

Definition at line 494 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_formatter_clear

#define LLDB_OPTIONS_type_formatter_clear

Definition at line 869 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_formatter_delete

#define LLDB_OPTIONS_type_formatter_delete

Definition at line 704 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_formatter_list

#define LLDB_OPTIONS_type_formatter_list

Definition at line 977 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_lookup

#define LLDB_OPTIONS_type_lookup

◆ LLDB_OPTIONS_type_summary_add

#define LLDB_OPTIONS_type_summary_add

Definition at line 98 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_synth_add

#define LLDB_OPTIONS_type_synth_add

Definition at line 281 of file CommandObjectType.cpp.

Function Documentation

◆ FixArrayTypeNameWithRegex()

static bool FixArrayTypeNameWithRegex ( ConstString type_name)
static

Definition at line 1528 of file CommandObjectType.cpp.

◆ WarnOnPotentialUnquotedUnsignedType()

static bool WarnOnPotentialUnquotedUnsignedType ( Args command,
CommandReturnObject result 
)
static

Variable Documentation

◆ g_synth_addreader_instructions

const char* g_synth_addreader_instructions
static
Initial value:
=
"Enter your Python command(s). Type 'DONE' to end.\n"
"You must define a Python class with these methods:\n"
" def __init__(self, valobj, internal_dict):\n"
" def num_children(self):\n"
" def get_child_at_index(self, index):\n"
" def get_child_index(self, name):\n"
" def update(self):\n"
" '''Optional'''\n"
"class synthProvider:\n"

Definition at line 270 of file CommandObjectType.cpp.

Referenced by CommandObjectTypeSynthAdd::IOHandlerActivated().