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 () |
Public Attributes | |
uint32_t | m_max_depth = UINT32_MAX |
bool | m_max_depth_is_default = true |
lldb::DynamicValueType | m_use_dynamic = lldb::eNoDynamicValues |
uint32_t | m_omit_summary_depth = 0 |
lldb::Format | m_format = lldb::eFormatDefault |
lldb::TypeSummaryImplSP | m_summary_sp |
std::string | m_root_valobj_name |
lldb::LanguageType | m_varformat_language = lldb::eLanguageTypeUnknown |
PointerDepth | m_max_ptr_depth |
DeclPrintingHelper | m_decl_printing_helper |
ChildPrintingDecider | m_child_printing_decider |
PointerAsArraySettings | m_pointer_as_array |
bool | m_use_synthetic: 1 |
bool | m_scope_already_checked: 1 |
bool | m_flat_output: 1 |
bool | m_ignore_cap: 1 |
bool | m_show_types: 1 |
bool | m_show_location: 1 |
bool | m_use_objc: 1 |
bool | m_hide_root_type: 1 |
bool | m_hide_root_name: 1 |
bool | m_hide_name: 1 |
bool | m_hide_value: 1 |
bool | m_run_validator: 1 |
bool | m_use_type_display_name: 1 |
bool | m_allow_oneliner_mode: 1 |
bool | m_hide_pointer_value: 1 |
bool | m_reveal_empty_aggregates: 1 |
Definition at line 22 of file DumpValueObjectOptions.h.
typedef std::function<bool(ConstString)> lldb_private::DumpValueObjectOptions::ChildPrintingDecider |
Definition at line 56 of file DumpValueObjectOptions.h.
typedef std::function<bool(ConstString, ConstString, const DumpValueObjectOptions &, Stream &)> lldb_private::DumpValueObjectOptions::DeclPrintingHelper |
Definition at line 54 of file DumpValueObjectOptions.h.
DumpValueObjectOptions::DumpValueObjectOptions | ( | ) |
Definition at line 16 of file DumpValueObjectOptions.cpp.
DumpValueObjectOptions::DumpValueObjectOptions | ( | ValueObject & | valobj | ) |
Definition at line 28 of file DumpValueObjectOptions.cpp.
References 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 58 of file DumpValueObjectOptions.h.
DumpValueObjectOptions & DumpValueObjectOptions::SetAllowOnelinerMode | ( | bool | oneliner = false | ) |
Definition at line 193 of file DumpValueObjectOptions.cpp.
References m_allow_oneliner_mode.
Referenced by SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetChildPrintingDecider | ( | ChildPrintingDecider | decider | ) |
Definition at line 55 of file DumpValueObjectOptions.cpp.
References m_child_printing_decider.
Referenced by dump_type_value().
DumpValueObjectOptions & DumpValueObjectOptions::SetDeclPrintingHelper | ( | DeclPrintingHelper | helper | ) |
Definition at line 49 of file DumpValueObjectOptions.cpp.
References m_decl_printing_helper.
Referenced by CommandObjectFrameDiagnose::DoExecute().
DumpValueObjectOptions & DumpValueObjectOptions::SetElementCount | ( | uint32_t | element_count = 0 | ) |
Definition at line 205 of file DumpValueObjectOptions.cpp.
References m_pointer_as_array.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), and lldb_private::ValueObjectPrinter::PrintChild().
DumpValueObjectOptions & DumpValueObjectOptions::SetFlatOutput | ( | bool | flat = false | ) |
Definition at line 100 of file DumpValueObjectOptions.cpp.
References m_flat_output.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetFormat | ( | lldb::Format | format = lldb::eFormatDefault | ) |
Definition at line 127 of file DumpValueObjectOptions.cpp.
References m_format.
Referenced by CommandObjectFrameVariable::DoExecute(), CommandObjectTargetVariable::DumpValueObject(), lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), and lldb_private::ValueObjectPrinter::PrintChild().
DumpValueObjectOptions & DumpValueObjectOptions::SetHideName | ( | bool | hide_name = false | ) |
Definition at line 159 of file DumpValueObjectOptions.cpp.
References m_hide_name.
Referenced by 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 169 of file DumpValueObjectOptions.cpp.
References m_hide_pointer_value.
DumpValueObjectOptions & DumpValueObjectOptions::SetHideRootName | ( | bool | hide_root_name | ) |
Definition at line 154 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 148 of file DumpValueObjectOptions.cpp.
References m_hide_root_type.
Referenced by dump_type_value(), lldb_private::Watchpoint::DumpSnapshots(), and lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetHideValue | ( | bool | hide_value = false | ) |
Definition at line 164 of file DumpValueObjectOptions.cpp.
References m_hide_value.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), lldb_private::ValueObjectPrinter::PrintChild(), and SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetIgnoreCap | ( | bool | ignore = false | ) |
Definition at line 111 of file DumpValueObjectOptions.cpp.
References m_ignore_cap.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), and SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetMaximumDepth | ( | uint32_t | depth, |
bool | is_default | ||
) |
Definition at line 42 of file DumpValueObjectOptions.cpp.
References m_max_depth, and m_max_depth_is_default.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetMaximumPointerDepth | ( | PointerDepth | depth = {PointerDepth::Mode::Never, 0} | ) |
Definition at line 36 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 106 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 210 of file DumpValueObjectOptions.cpp.
References m_pointer_as_array.
DumpValueObjectOptions & DumpValueObjectOptions::SetRawDisplay | ( | ) |
Definition at line 116 of file DumpValueObjectOptions.cpp.
References 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 199 of file DumpValueObjectOptions.cpp.
References m_reveal_empty_aggregates.
DumpValueObjectOptions & DumpValueObjectOptions::SetRootValueObjectName | ( | const char * | name = nullptr | ) |
Definition at line 139 of file DumpValueObjectOptions.cpp.
References m_root_valobj_name.
Referenced by CommandObjectFrameVariable::DoExecute(), CommandObjectTargetVariable::DumpValueObject(), and lldb_private::ValueObjectPrinter::PrintChild().
DumpValueObjectOptions & DumpValueObjectOptions::SetRunValidator | ( | bool | run = true | ) |
Definition at line 181 of file DumpValueObjectOptions.cpp.
References m_run_validator.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetScopeChecked | ( | bool | check = true | ) |
Definition at line 95 of file DumpValueObjectOptions.cpp.
References m_scope_already_checked.
Referenced by lldb_private::ValueObjectPrinter::PrintChild().
DumpValueObjectOptions & DumpValueObjectOptions::SetShowLocation | ( | bool | show = false | ) |
Definition at line 65 of file DumpValueObjectOptions.cpp.
References m_show_location.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetShowSummary | ( | bool | show = true | ) |
Definition at line 75 of file DumpValueObjectOptions.cpp.
References SetOmitSummaryDepth(), and UINT32_MAX.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetShowTypes | ( | bool | show = false | ) |
Definition at line 60 of file DumpValueObjectOptions.cpp.
References m_show_types.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetSummary | ( | lldb::TypeSummaryImplSP | summary = lldb::TypeSummaryImplSP() | ) |
Definition at line 133 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 84 of file DumpValueObjectOptions.cpp.
References m_use_dynamic.
Referenced by lldb_private::Watchpoint::DumpSnapshots(), lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions(), and lldb::SBValue::GetDescription().
DumpValueObjectOptions & DumpValueObjectOptions::SetUseObjectiveC | ( | bool | use = false | ) |
Definition at line 70 of file DumpValueObjectOptions.cpp.
References m_use_objc.
Referenced by lldb_private::OptionGroupValueObjectDisplay::GetAsDumpOptions().
DumpValueObjectOptions & DumpValueObjectOptions::SetUseSyntheticValue | ( | bool | use_synthetic = true | ) |
Definition at line 90 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 187 of file DumpValueObjectOptions.cpp.
References m_use_type_display_name.
Referenced by SetRawDisplay().
DumpValueObjectOptions & DumpValueObjectOptions::SetVariableFormatDisplayLanguage | ( | lldb::LanguageType | lang = lldb::eLanguageTypeUnknown | ) |
Definition at line 175 of file DumpValueObjectOptions.cpp.
References m_varformat_language.
Referenced by CommandObjectFrameVariable::DoExecute().
bool lldb_private::DumpValueObjectOptions::m_allow_oneliner_mode |
Definition at line 158 of file DumpValueObjectOptions.h.
Referenced by SetAllowOnelinerMode().
ChildPrintingDecider lldb_private::DumpValueObjectOptions::m_child_printing_decider |
Definition at line 143 of file DumpValueObjectOptions.h.
Referenced by SetChildPrintingDecider().
DeclPrintingHelper lldb_private::DumpValueObjectOptions::m_decl_printing_helper |
Definition at line 142 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintDecl(), and SetDeclPrintingHelper().
bool lldb_private::DumpValueObjectOptions::m_flat_output |
Definition at line 147 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintDecl(), SetFlatOutput(), and lldb_private::ValueObjectPrinter::ShouldPrintValueObject().
lldb::Format lldb_private::DumpValueObjectOptions::m_format = lldb::eFormatDefault |
Definition at line 137 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::GetValueSummaryError(), lldb_private::ValueObjectPrinter::PrintValueAndSummaryIfNeeded(), and SetFormat().
bool lldb_private::DumpValueObjectOptions::m_hide_name |
Definition at line 154 of file DumpValueObjectOptions.h.
Referenced by SetHideName().
bool lldb_private::DumpValueObjectOptions::m_hide_pointer_value |
Definition at line 159 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintDecl(), lldb_private::ValueObjectPrinter::PrintValueAndSummaryIfNeeded(), and SetHidePointerValue().
bool lldb_private::DumpValueObjectOptions::m_hide_root_name |
Definition at line 153 of file DumpValueObjectOptions.h.
Referenced by SetHideRootName().
bool lldb_private::DumpValueObjectOptions::m_hide_root_type |
Definition at line 152 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintDecl(), and SetHideRootType().
bool lldb_private::DumpValueObjectOptions::m_hide_value |
Definition at line 155 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintObjectDescriptionIfNeeded(), lldb_private::ValueObjectPrinter::PrintValueAndSummaryIfNeeded(), and SetHideValue().
bool lldb_private::DumpValueObjectOptions::m_ignore_cap |
Definition at line 148 of file DumpValueObjectOptions.h.
Referenced by SetIgnoreCap().
uint32_t lldb_private::DumpValueObjectOptions::m_max_depth = UINT32_MAX |
Definition at line 133 of file DumpValueObjectOptions.h.
Referenced by SetMaximumDepth().
bool lldb_private::DumpValueObjectOptions::m_max_depth_is_default = true |
Definition at line 134 of file DumpValueObjectOptions.h.
Referenced by SetMaximumDepth().
PointerDepth lldb_private::DumpValueObjectOptions::m_max_ptr_depth |
Definition at line 141 of file DumpValueObjectOptions.h.
Referenced by SetMaximumPointerDepth(), and lldb_private::ValueObjectPrinter::ValueObjectPrinter().
uint32_t lldb_private::DumpValueObjectOptions::m_omit_summary_depth = 0 |
Definition at line 136 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::GetSummaryFormatter(), lldb_private::ValueObjectPrinter::GetValueSummaryError(), lldb_private::ValueObjectPrinter::PrintChild(), and SetOmitSummaryDepth().
PointerAsArraySettings lldb_private::DumpValueObjectOptions::m_pointer_as_array |
Definition at line 144 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::GetValueSummaryError(), lldb_private::ValueObjectPrinter::PrintObjectDescriptionIfNeeded(), SetElementCount(), and SetPointerAsArray().
bool lldb_private::DumpValueObjectOptions::m_reveal_empty_aggregates |
Definition at line 160 of file DumpValueObjectOptions.h.
Referenced by SetRevealEmptyAggregates().
std::string lldb_private::DumpValueObjectOptions::m_root_valobj_name |
Definition at line 139 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::GetRootNameForDisplay(), and SetRootValueObjectName().
bool lldb_private::DumpValueObjectOptions::m_run_validator |
Definition at line 156 of file DumpValueObjectOptions.h.
Referenced by SetRunValidator().
bool lldb_private::DumpValueObjectOptions::m_scope_already_checked |
Definition at line 146 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::CheckScopeIfNeeded(), and SetScopeChecked().
bool lldb_private::DumpValueObjectOptions::m_show_location |
Definition at line 150 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintLocationIfNeeded(), and SetShowLocation().
bool lldb_private::DumpValueObjectOptions::m_show_types |
Definition at line 149 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintDecl(), and SetShowTypes().
lldb::TypeSummaryImplSP lldb_private::DumpValueObjectOptions::m_summary_sp |
Definition at line 138 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::GetSummaryFormatter(), and SetSummary().
lldb::DynamicValueType lldb_private::DumpValueObjectOptions::m_use_dynamic = lldb::eNoDynamicValues |
Definition at line 135 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), lldb_private::ValueObjectPrinter::SetupMostSpecializedValue(), and SetUseDynamicType().
bool lldb_private::DumpValueObjectOptions::m_use_objc |
Definition at line 151 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintObjectDescriptionIfNeeded(), and SetUseObjectiveC().
bool lldb_private::DumpValueObjectOptions::m_use_synthetic |
Definition at line 145 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), lldb_private::ValueObjectPrinter::SetupMostSpecializedValue(), and SetUseSyntheticValue().
bool lldb_private::DumpValueObjectOptions::m_use_type_display_name |
Definition at line 157 of file DumpValueObjectOptions.h.
Referenced by lldb_private::ValueObjectPrinter::PrintDecl(), and SetUseTypeDisplayName().
lldb::LanguageType lldb_private::DumpValueObjectOptions::m_varformat_language = lldb::eLanguageTypeUnknown |
Definition at line 140 of file DumpValueObjectOptions.h.
Referenced by DumpValueObjectOptions(), lldb_private::ValueObjectPrinter::GetValueSummaryError(), lldb_private::ValueObjectPrinter::PrintDecl(), and SetVariableFormatDisplayLanguage().