31 category_sp->AddTypeFormat(type_name, match_type, format_sp);
36 llvm::StringRef type_name,
bool regex) {
39 category_sp->AddTypeSummary(type_name, match_type, summary_sp);
49 category_sp->AddTypeSummary(type_name, match_type, summary_sp);
60 category_sp->AddTypeSummary(type_name, match_type, summary_sp);
72 category_sp->AddTypeSummary(type_name, match_type, summary_sp);
78 const char *description, llvm::StringRef type_name,
84 category_sp->AddTypeSynthetic(type_name, match_type, synth_sp);
89 std::vector<std::string> children,
const char *description,
93 for (
auto child : children)
94 filter_sp->AddExpressionPath(child);
97 category_sp->AddTypeFilter(type_name, match_type, filter_sp);
102 if (!item_name || !*item_name)
104 if (*item_name !=
'[')
107 char *endptr =
nullptr;
108 unsigned long int idx = ::strtoul(item_name, &endptr, 0);
109 if ((idx == 0 && endptr == item_name) || idx == ULONG_MAX)
139 if (!pointee_sp || !
error.Success())
142 if (!pointee_sp->DumpPrintableRepresentation(
152 nullptr,
nullptr, &valobj,
false,
false);
static llvm::raw_ostream & error(Stream &strm)
A section + offset based address class.
std::function< SyntheticChildrenFrontEnd *(CXXSyntheticChildren *, lldb::ValueObjectSP)> CreateFrontEndCallback
A stream class that can stream formatted output to a file.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
std::shared_ptr< TypeCategoryImpl > SharedPointer
Flags & SetShowMembersOneLiner(bool value=true)
virtual uint64_t GetValueAsUnsigned(uint64_t fail_value, bool *success=nullptr)
virtual lldb::ModuleSP GetModule()
Return the module associated with this value object in case the value is from an executable file and ...
virtual lldb::ValueObjectSP Dereference(Status &error)
AddrAndType GetPointerValue()
@ eValueObjectRepresentationStyleSummary
virtual AddrAndType GetAddressOf(bool scalar_is_load_address=true)
#define LLDB_INVALID_ADDRESS
A class that represents a running process on the host machine.
@ eAddressTypeFile
Address is an address as found in an object or symbol file.
std::shared_ptr< lldb_private::TypeSummaryImpl > TypeSummaryImplSP
std::shared_ptr< lldb_private::TypeFormatImpl > TypeFormatImplSP
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
Format
Display format definitions.
FormatterMatchType
Type of match to be performed when looking for a formatter for a data type.
std::shared_ptr< lldb_private::SyntheticChildren > SyntheticChildrenSP
std::shared_ptr< lldb_private::TypeFilterImpl > TypeFilterImplSP