Ejemplo n.º 1
0
bool
lldb_private::formatters::swift::BuiltinObjC_SummaryProvider (ValueObject& valobj, Stream& stream, const TypeSummaryOptions& options)
{
    stream.Printf("0x%" PRIx64 " ",valobj.GetValueAsUnsigned(0));
    stream.Printf("%s",valobj.GetObjectDescription());
    return true;
}
Ejemplo n.º 2
0
bool
lldb_private::formatters::RuntimeSpecificDescriptionSummaryProvider (ValueObject& valobj, Stream& stream, const TypeSummaryOptions& options)
{
    if (const char* description = valobj.GetObjectDescription())
    {
        stream.Printf("%s", description);
        return true;
    }
    else
        return false;
}