LLDB mainline
|
#include <DumpValueObjectOptions.h>
Classes | |
struct | PointerAsArraySettings |
struct | PointerDepth |
Public Types | |
typedef std::function< bool(ConstString, ConstString, const DumpValueObjectOptions &, Stream &)> | DeclPrintingHelper |
typedef std::function< bool(ConstString)> | ChildPrintingDecider |
Static Public Member Functions | |
static const DumpValueObjectOptions | DefaultOptions () |
Definition at line 22 of file DumpValueObjectOptions.h.
typedef std::function<bool(ConstString)> lldb_private::DumpValueObjectOptions::ChildPrintingDecider |
Definition at line 55 of file DumpValueObjectOptions.h.
typedef std::function<bool(ConstString, ConstString, const DumpValueObjectOptions &, Stream &)> lldb_private::DumpValueObjectOptions::DeclPrintingHelper |
Definition at line 53 of file DumpValueObjectOptions.h.
DumpValueObjectOptions::DumpValueObjectOptions | ( | ) |
Definition at line 16 of file DumpValueObjectOptions.cpp.
References m_allow_oneliner_mode, m_child_printing_decider, m_decl_printing_helper, m_flat_output, m_hide_name, m_hide_pointer_value, m_hide_root_name, m_hide_root_type, m_hide_value, m_ignore_cap, m_pointer_as_array, m_reveal_empty_aggregates, m_root_valobj_name, m_run_validator, m_scope_already_checked, m_show_location, m_show_types, m_summary_sp, m_use_object_desc, m_use_synthetic, and m_use_type_display_name.
Referenced by DefaultOptions(), DisableObjectDescription(), DumpValueObjectOptions(), SetFlatOutput(), SetFormat(), SetHideName(), SetHidePointerValue(), SetHideValue(), SetIgnoreCap(), SetPointerAsArray(), SetRawDisplay(), SetRunValidator(), SetScopeChecked(), SetShowLocation(), SetShowSummary(), and SetShowTypes().
DumpValueObjectOptions::DumpValueObjectOptions | ( | ValueObject & | valobj | ) |
Definition at line 26 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), lldb_private::ValueObject::GetDynamicValueType(), lldb_private::ValueObject::GetPreferredDisplayLanguage(), lldb_private::ValueObject::IsSynthetic(), m_use_dynamic, m_use_synthetic, and m_varformat_language.
|
inlinestatic |
Definition at line 57 of file DumpValueObjectOptions.h.
References DumpValueObjectOptions().
DumpValueObjectOptions & DumpValueObjectOptions::DisableObjectDescription | ( | ) |
Definition at line 68 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), SetHideName(), SetHideRootType(), SetHideValue(), SetShowSummary(), and SetUseObjectDescription().
DumpValueObjectOptions & DumpValueObjectOptions::SetAllowOnelinerMode | ( | bool | oneliner = false | ) |
Definition at line 202 of file DumpValueObjectOptions.cpp.
References m_allow_oneliner_mode.
Referenced by SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetChildPrintingDecider | ( | ChildPrintingDecider | decider | ) |
Definition at line 53 of file DumpValueObjectOptions.cpp.
References m_child_printing_decider.
Referenced by dump_type_value().
DumpValueObjectOptions & DumpValueObjectOptions::SetDeclPrintingHelper | ( | DeclPrintingHelper | helper | ) |
Definition at line 47 of file DumpValueObjectOptions.cpp.
References m_decl_printing_helper.
Referenced by CommandObjectFrameDiagnose::DoExecute().
DumpValueObjectOptions & DumpValueObjectOptions::SetElementCount | ( | uint32_t | element_count = 0 | ) |
Definition at line 220 of file DumpValueObjectOptions.cpp.
References m_pointer_as_array.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), and lldb_private::ValueObjectPrinter::PrintChild().
DumpValueObjectOptions & DumpValueObjectOptions::SetExpandPointerTypeFlags | ( | unsigned | flags | ) |
Definition at line 214 of file DumpValueObjectOptions.cpp.
References m_expand_ptr_type_flags.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute().
DumpValueObjectOptions & DumpValueObjectOptions::SetFlatOutput | ( | bool | flat = false | ) |
Definition at line 109 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_flat_output.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetFormat | ( | lldb::Format | format = lldb::eFormatDefault | ) |
Definition at line 136 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_format.
Referenced by CommandObjectTargetVariable::DumpValueObject(), lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), and lldb_private::ValueObjectPrinter::PrintChild().
DumpValueObjectOptions & DumpValueObjectOptions::SetHideName | ( | bool | hide_name = false | ) |
Definition at line 168 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_hide_name.
Referenced by DisableObjectDescription(), lldb_private::Watchpoint::DumpSnapshots(), lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), lldb_private::ValueObjectPrinter::PrintChild(), lldb_private::ValueObjectPrinter::PrintDecl(), and SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetHidePointerValue | ( | bool | hide = false | ) |
Definition at line 178 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_hide_pointer_value.
DumpValueObjectOptions & DumpValueObjectOptions::SetHideRootName | ( | bool | hide_root_name | ) |
Definition at line 163 of file DumpValueObjectOptions.cpp.
References m_hide_root_name.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute(), and lldb_private::Watchpoint::DumpSnapshots().
DumpValueObjectOptions & DumpValueObjectOptions::SetHideRootType | ( | bool | hide_root_type = false | ) |
Definition at line 157 of file DumpValueObjectOptions.cpp.
References m_hide_root_type.
Referenced by DisableObjectDescription(), dump_type_value(), lldb_private::Watchpoint::DumpSnapshots(), and lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetHideValue | ( | bool | hide_value = false | ) |
Definition at line 173 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_hide_value.
Referenced by DisableObjectDescription(), lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), lldb_private::ValueObjectPrinter::PrintChild(), and SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetIgnoreCap | ( | bool | ignore = false | ) |
Definition at line 120 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_ignore_cap.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), and SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetMaximumDepth | ( | uint32_t | depth, |
bool | is_default ) |
Definition at line 40 of file DumpValueObjectOptions.cpp.
References m_max_depth, and m_max_depth_is_default.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetMaximumPointerDepth | ( | uint32_t | depth | ) |
Definition at line 34 of file DumpValueObjectOptions.cpp.
References m_max_ptr_depth.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetOmitSummaryDepth | ( | uint32_t | depth = 0 | ) |
Definition at line 115 of file DumpValueObjectOptions.cpp.
References m_omit_summary_depth.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), lldb_private::ValueObjectPrinter::PrintChild(), SetRawDisplay(), and SetShowSummary().
DumpValueObjectOptions & DumpValueObjectOptions::SetPointerAsArray | ( | const PointerAsArraySettings & | ptr_array | ) |
Definition at line 225 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_pointer_as_array.
DumpValueObjectOptions & DumpValueObjectOptions::SetRawDisplay | ( | ) |
Definition at line 125 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), SetAllowOnelinerMode(), SetHideName(), SetHideValue(), SetIgnoreCap(), SetOmitSummaryDepth(), SetUseSyntheticValue(), SetUseTypeDisplayName(), and UINT32_MAX.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetRevealEmptyAggregates | ( | bool | reveal = true | ) |
Definition at line 208 of file DumpValueObjectOptions.cpp.
References m_reveal_empty_aggregates.
DumpValueObjectOptions & DumpValueObjectOptions::SetRootValueObjectName | ( | const char * | name = nullptr | ) |
Definition at line 148 of file DumpValueObjectOptions.cpp.
References m_root_valobj_name.
Referenced by CommandObjectTargetVariable::DumpValueObject(), and lldb_private::ValueObjectPrinter::PrintChild().
DumpValueObjectOptions & DumpValueObjectOptions::SetRunValidator | ( | bool | run = true | ) |
Definition at line 190 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_run_validator.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetScopeChecked | ( | bool | check = true | ) |
Definition at line 104 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_scope_already_checked.
Referenced by lldb_private::ValueObjectPrinter::PrintChild().
DumpValueObjectOptions & DumpValueObjectOptions::SetShowLocation | ( | bool | show = false | ) |
Definition at line 63 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_show_location.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetShowSummary | ( | bool | show = true | ) |
Definition at line 84 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), SetOmitSummaryDepth(), and UINT32_MAX.
Referenced by DisableObjectDescription(), and lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetShowTypes | ( | bool | show = false | ) |
Definition at line 58 of file DumpValueObjectOptions.cpp.
References DumpValueObjectOptions(), and m_show_types.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetSummary | ( | lldb::TypeSummaryImplSP | summary = lldb::TypeSummaryImplSP() | ) |
Definition at line 142 of file DumpValueObjectOptions.cpp.
References m_summary_sp.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), and lldb_private::ValueObjectPrinter::PrintChild().
DumpValueObjectOptions & DumpValueObjectOptions::SetUseDynamicType | ( | lldb::DynamicValueType | dyn = lldb::eNoDynamicValues | ) |
Definition at line 93 of file DumpValueObjectOptions.cpp.
References m_use_dynamic.
Referenced by lldb_private::Watchpoint::DumpSnapshots(), lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), and lldb::SBValue::GetDescription().
DumpValueObjectOptions & DumpValueObjectOptions::SetUseObjectDescription | ( | bool | use = false | ) |
Definition at line 79 of file DumpValueObjectOptions.cpp.
References m_use_object_desc.
Referenced by DisableObjectDescription(), and lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetUseSyntheticValue | ( | bool | use_synthetic = true | ) |
Definition at line 99 of file DumpValueObjectOptions.cpp.
References m_use_synthetic.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), lldb::SBValue::GetDescription(), and SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetUseTypeDisplayName | ( | bool | dis = false | ) |
Definition at line 196 of file DumpValueObjectOptions.cpp.
References m_use_type_display_name.
Referenced by SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetVariableFormatDisplayLanguage | ( | lldb::LanguageType | lang = lldb::eLanguageTypeUnknown | ) |
Definition at line 184 of file DumpValueObjectOptions.cpp.
References m_varformat_language.
bool lldb_private::DumpValueObjectOptions::m_allow_oneliner_mode |
Definition at line 162 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetAllowOnelinerMode().
ChildPrintingDecider lldb_private::DumpValueObjectOptions::m_child_printing_decider |
Definition at line 145 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetChildPrintingDecider().
DeclPrintingHelper lldb_private::DumpValueObjectOptions::m_decl_printing_helper |
Definition at line 144 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetDeclPrintingHelper().
unsigned lldb_private::DumpValueObjectOptions::m_expand_ptr_type_flags = 0 |
Definition at line 147 of file DumpValueObjectOptions.h.
Referenced by SetExpandPointerTypeFlags().
bool lldb_private::DumpValueObjectOptions::m_flat_output |
Definition at line 151 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetFlatOutput().
lldb::Format lldb_private::DumpValueObjectOptions::m_format = lldb::eFormatDefault |
Definition at line 139 of file DumpValueObjectOptions.h.
Referenced by SetFormat().
bool lldb_private::DumpValueObjectOptions::m_hide_name |
Definition at line 158 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetHideName().
bool lldb_private::DumpValueObjectOptions::m_hide_pointer_value |
Definition at line 163 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetHidePointerValue().
bool lldb_private::DumpValueObjectOptions::m_hide_root_name |
Definition at line 157 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetHideRootName().
bool lldb_private::DumpValueObjectOptions::m_hide_root_type |
Definition at line 156 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetHideRootType().
bool lldb_private::DumpValueObjectOptions::m_hide_value |
Definition at line 159 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetHideValue().
bool lldb_private::DumpValueObjectOptions::m_ignore_cap |
Definition at line 152 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetIgnoreCap().
uint32_t lldb_private::DumpValueObjectOptions::m_max_depth = UINT32_MAX |
Definition at line 135 of file DumpValueObjectOptions.h.
Referenced by SetMaximumDepth().
bool lldb_private::DumpValueObjectOptions::m_max_depth_is_default = true |
Definition at line 136 of file DumpValueObjectOptions.h.
Referenced by SetMaximumDepth().
PointerDepth lldb_private::DumpValueObjectOptions::m_max_ptr_depth |
Definition at line 143 of file DumpValueObjectOptions.h.
Referenced by SetMaximumPointerDepth().
uint32_t lldb_private::DumpValueObjectOptions::m_omit_summary_depth = 0 |
Definition at line 138 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintChild(), and SetOmitSummaryDepth().
PointerAsArraySettings lldb_private::DumpValueObjectOptions::m_pointer_as_array |
Definition at line 146 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), SetElementCount(), and SetPointerAsArray().
bool lldb_private::DumpValueObjectOptions::m_reveal_empty_aggregates |
Definition at line 164 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetRevealEmptyAggregates().
std::string lldb_private::DumpValueObjectOptions::m_root_valobj_name |
Definition at line 141 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetRootValueObjectName().
bool lldb_private::DumpValueObjectOptions::m_run_validator |
Definition at line 160 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetRunValidator().
bool lldb_private::DumpValueObjectOptions::m_scope_already_checked |
Definition at line 150 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetScopeChecked().
bool lldb_private::DumpValueObjectOptions::m_show_location |
Definition at line 154 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetShowLocation().
bool lldb_private::DumpValueObjectOptions::m_show_types |
Definition at line 153 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetShowTypes().
lldb::TypeSummaryImplSP lldb_private::DumpValueObjectOptions::m_summary_sp |
Definition at line 140 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetSummary().
lldb::DynamicValueType lldb_private::DumpValueObjectOptions::m_use_dynamic = lldb::eNoDynamicValues |
Definition at line 137 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetUseDynamicType().
bool lldb_private::DumpValueObjectOptions::m_use_object_desc |
Definition at line 155 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetUseObjectDescription().
bool lldb_private::DumpValueObjectOptions::m_use_synthetic |
Definition at line 149 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), DumpValueObjectOptions(), and SetUseSyntheticValue().
bool lldb_private::DumpValueObjectOptions::m_use_type_display_name |
Definition at line 161 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetUseTypeDisplayName().
lldb::LanguageType lldb_private::DumpValueObjectOptions::m_varformat_language = lldb::eLanguageTypeUnknown |
Definition at line 142 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), and SetVariableFormatDisplayLanguage().