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/DataFormatters/FormatClasses.h"
#include "lldb/Host/Config.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandObject.h"
#include "lldb/Interpreter/CommandOptionArgumentTable.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"

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
 
class  CommandObjectTypeSummaryDelete
 
class  CommandObjectTypeSummaryClear
 
class  CommandObjectTypeSummaryList
 
class  CommandObjectTypeCategoryDefine
 
class  CommandObjectTypeCategoryDefine::CommandOptions
 
class  CommandObjectTypeCategoryEnable
 
class  CommandObjectTypeCategoryEnable::CommandOptions
 
class  CommandObjectTypeCategoryDelete
 
class  CommandObjectTypeCategoryDisable
 
class  CommandObjectTypeCategoryDisable::CommandOptions
 
class  CommandObjectTypeCategoryList
 
class  CommandObjectTypeFilterList
 
class  CommandObjectTypeSynthList
 
class  CommandObjectTypeFilterDelete
 
class  CommandObjectTypeSynthDelete
 
class  CommandObjectTypeFilterClear
 
class  CommandObjectTypeSynthClear
 
class  CommandObjectTypeFilterAdd
 
class  CommandObjectTypeFilterAdd::CommandOptions
 
class  CommandObjectTypeLookup
 
class  CommandObjectTypeLookup::CommandOptions
 
class  CommandObjectFormatterInfo< FormatterType >
 
class  CommandObjectTypeFormat
 
class  CommandObjectTypeSynth
 
class  CommandObjectTypeFilter
 
class  CommandObjectTypeCategory
 
class  CommandObjectTypeSummary
 

Macros

#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)
 
const char * FormatCategoryToString (FormatCategoryItem item, bool long_name)
 
static bool FixArrayTypeNameWithRegex (ConstString &type_name)
 

Variables

static const char * g_synth_addreader_instructions
 

Macro Definition Documentation

◆ LLDB_OPTIONS_type_category_define

#define LLDB_OPTIONS_type_category_define

Definition at line 1594 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_category_disable

#define LLDB_OPTIONS_type_category_disable

Definition at line 1823 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_category_enable

#define LLDB_OPTIONS_type_category_enable

Definition at line 1681 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_filter_add

#define LLDB_OPTIONS_type_filter_add

Definition at line 2197 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_format_add

#define LLDB_OPTIONS_type_format_add

Definition at line 511 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_formatter_clear

#define LLDB_OPTIONS_type_formatter_clear

Definition at line 866 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_formatter_delete

#define LLDB_OPTIONS_type_formatter_delete

Definition at line 709 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_formatter_list

#define LLDB_OPTIONS_type_formatter_list

Definition at line 971 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_lookup

#define LLDB_OPTIONS_type_lookup

Definition at line 2432 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_summary_add

#define LLDB_OPTIONS_type_summary_add

Definition at line 116 of file CommandObjectType.cpp.

◆ LLDB_OPTIONS_type_synth_add

#define LLDB_OPTIONS_type_synth_add

Definition at line 293 of file CommandObjectType.cpp.

Function Documentation

◆ FixArrayTypeNameWithRegex()

static bool FixArrayTypeNameWithRegex ( ConstString type_name)
static

Definition at line 1471 of file CommandObjectType.cpp.

Referenced by CommandObjectTypeFilterAdd::DoExecute().

◆ FormatCategoryToString()

const char * FormatCategoryToString ( FormatCategoryItem  item,
bool  long_name 
)

◆ 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 282 of file CommandObjectType.cpp.

Referenced by CommandObjectTypeSynthAdd::IOHandlerActivated().