LLDB mainline
|
#include <TypeSummary.h>
Classes | |
class | Flags |
Public Types | |
enum class | Kind { eSummaryString , eScript , eBytecode , eCallback , eInternal } |
typedef std::shared_ptr< TypeSummaryImpl > | SharedPointer |
Public Member Functions | |
virtual | ~TypeSummaryImpl ()=default |
Kind | GetKind () const |
bool | Cascades () const |
bool | SkipsPointers () const |
bool | SkipsReferences () const |
bool | NonCacheable () const |
virtual bool | DoesPrintChildren (ValueObject *valobj) const |
virtual bool | DoesPrintEmptyAggregates () const |
virtual bool | DoesPrintValue (ValueObject *valobj) const |
bool | IsOneLiner () const |
virtual bool | HideNames (ValueObject *valobj) const |
void | SetCascades (bool value) |
void | SetSkipsPointers (bool value) |
void | SetSkipsReferences (bool value) |
virtual void | SetDoesPrintChildren (bool value) |
virtual void | SetDoesPrintValue (bool value) |
void | SetIsOneLiner (bool value) |
virtual void | SetHideNames (bool value) |
virtual void | SetNonCacheable (bool value) |
uint32_t | GetOptions () |
void | SetOptions (uint32_t value) |
uint32_t | GetPtrMatchDepth () |
void | SetPtrMatchDepth (uint32_t value) |
virtual bool | FormatObject (ValueObject *valobj, std::string &dest, const TypeSummaryOptions &options)=0 |
virtual std::string | GetDescription ()=0 |
virtual std::string | GetName ()=0 |
Get the name of the Type Summary Provider, either a C++ class, a summary string, or a script function name. | |
virtual std::string | GetSummaryKindName () |
Get the name of the kind of Summary Provider, either c++, summary string, script or python. | |
uint32_t & | GetRevision () |
Protected Member Functions | |
TypeSummaryImpl (Kind kind, const TypeSummaryImpl::Flags &flags, uint32_t ptr_match_depth=1) |
Protected Attributes | |
uint32_t | m_my_revision = 0 |
Flags | m_flags |
Private Member Functions | |
TypeSummaryImpl (const TypeSummaryImpl &)=delete | |
const TypeSummaryImpl & | operator= (const TypeSummaryImpl &)=delete |
Private Attributes | |
Kind | m_kind |
uint32_t | m_ptr_match_depth = 1 |
Definition at line 49 of file TypeSummary.h.
typedef std::shared_ptr<TypeSummaryImpl> lldb_private::TypeSummaryImpl::SharedPointer |
Definition at line 279 of file TypeSummary.h.
|
strong |
Enumerator | |
---|---|
eSummaryString | |
eScript | |
eBytecode | |
eCallback | |
eInternal |
Definition at line 51 of file TypeSummary.h.
|
virtualdefault |
|
protected |
Definition at line 46 of file TypeSummary.cpp.
References m_flags, m_kind, and m_ptr_match_depth.
Referenced by lldb_private::BytecodeSummaryFormat::BytecodeSummaryFormat(), lldb_private::BytecodeSummaryFormat::classof(), lldb_private::CXXFunctionSummaryFormat::classof(), lldb_private::ScriptSummaryFormat::classof(), lldb_private::StringSummaryFormat::classof(), lldb_private::CXXFunctionSummaryFormat::CXXFunctionSummaryFormat(), operator=(), lldb_private::ScriptSummaryFormat::ScriptSummaryFormat(), lldb_private::StringSummaryFormat::StringSummaryFormat(), and TypeSummaryImpl().
|
privatedelete |
References TypeSummaryImpl().
|
inline |
Definition at line 206 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inlinevirtual |
Definition at line 214 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inlinevirtual |
Definition at line 218 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::ValueObjectPrinter::ShouldExpandEmptyAggregates().
|
inlinevirtual |
Definition at line 222 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), lldb_private::StringSummaryFormat::GetDescription(), and lldb_private::ValueObjectPrinter::PrintValueAndSummaryIfNeeded().
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 55 of file TypeSummary.h.
References m_kind.
|
pure virtual |
Get the name of the Type Summary Provider, either a C++ class, a summary string, or a script function name.
Implemented in lldb_private::BytecodeSummaryFormat, lldb_private::CXXFunctionSummaryFormat, lldb_private::ScriptSummaryFormat, and lldb_private::StringSummaryFormat.
Referenced by lldb_private::SummaryStatisticsCache::GetSummaryStatisticsForProvider().
|
inline |
Definition at line 252 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 256 of file TypeSummary.h.
References m_ptr_match_depth.
Referenced by lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inline |
Definition at line 277 of file TypeSummary.h.
References m_my_revision.
|
virtual |
Get the name of the kind of Summary Provider, either c++, summary string, script or python.
Definition at line 50 of file TypeSummary.cpp.
References eBytecode, eCallback, eInternal, eScript, eSummaryString, and m_kind.
Referenced by lldb_private::SummaryStatisticsCache::GetSummaryStatisticsForProvider().
|
inlinevirtual |
Definition at line 228 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::StringSummaryFormat::FormatObject(), lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inline |
Definition at line 226 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::StringSummaryFormat::FormatObject(), lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inline |
Definition at line 212 of file TypeSummary.h.
References m_flags.
|
privatedelete |
References TypeSummaryImpl().
|
inline |
Definition at line 232 of file TypeSummary.h.
References m_flags.
|
inlinevirtual |
Definition at line 238 of file TypeSummary.h.
References m_flags.
|
inlinevirtual |
Definition at line 242 of file TypeSummary.h.
References m_flags.
|
inlinevirtual |
Definition at line 248 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 246 of file TypeSummary.h.
References m_flags.
|
inlinevirtual |
Definition at line 250 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 254 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 258 of file TypeSummary.h.
References m_ptr_match_depth.
|
inline |
Definition at line 234 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 236 of file TypeSummary.h.
References m_flags.
|
inline |
Definition at line 208 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
inline |
Definition at line 210 of file TypeSummary.h.
References m_flags.
Referenced by lldb_private::BytecodeSummaryFormat::GetDescription(), lldb_private::CXXFunctionSummaryFormat::GetDescription(), lldb_private::ScriptSummaryFormat::GetDescription(), and lldb_private::StringSummaryFormat::GetDescription().
|
protected |
Definition at line 283 of file TypeSummary.h.
Referenced by Cascades(), DoesPrintChildren(), DoesPrintEmptyAggregates(), DoesPrintValue(), GetOptions(), HideNames(), IsOneLiner(), NonCacheable(), SetCascades(), SetDoesPrintChildren(), SetDoesPrintValue(), SetHideNames(), SetIsOneLiner(), SetNonCacheable(), SetOptions(), SetSkipsPointers(), SetSkipsReferences(), SkipsPointers(), SkipsReferences(), and TypeSummaryImpl().
|
private |
Definition at line 289 of file TypeSummary.h.
Referenced by GetKind(), GetSummaryKindName(), and TypeSummaryImpl().
|
protected |
Definition at line 282 of file TypeSummary.h.
Referenced by GetRevision().
|
private |
Definition at line 290 of file TypeSummary.h.
Referenced by GetPtrMatchDepth(), SetPtrMatchDepth(), and TypeSummaryImpl().