32 category_sp->AddTypeFormat(type_name, match_type, format_sp);
37 llvm::StringRef type_name,
bool regex) {
40 category_sp->AddTypeSummary(type_name, match_type, summary_sp);
50 category_sp->AddTypeSummary(type_name, match_type, summary_sp);
61 category_sp->AddTypeSummary(type_name, match_type, summary_sp);
73 category_sp->AddTypeSummary(type_name, match_type, summary_sp);
79 const char *description, llvm::StringRef type_name,
85 category_sp->AddTypeSynthetic(type_name, match_type, synth_sp);
90 std::vector<std::string> children,
const char *description,
94 for (
auto child : children)
95 filter_sp->AddExpressionPath(child);
98 category_sp->AddTypeFilter(type_name, match_type, filter_sp);
103 if (item_name.empty())
105 if (item_name.front() !=
'[' || item_name.back() !=
']')
107 item_name = item_name.drop_front().ltrim();
109 unsigned long long idx = 0;
110 if (llvm::consumeUnsignedInteger(item_name, 0, idx))
140 if (!pointee_sp || !
error.Success())
143 if (!pointee_sp->DumpPrintableRepresentation(
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.
size_t PutCString(llvm::StringRef cstr)
Output a C string 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