1type summary add -w lldb lldb_private::Error -s "Type: ${var.m_type%E}, Code: ${var.m_code}, Message: ${var.m_string}" 2type summary add -w lldb lldb_private::ConstString -s "${var.m_string}" 3type summary add -w lldb lldb_private::Language -s "${var.m_language%E}" 4type summary add -w lldb lldb_private::RegularExpression -s "${var.m_re}" 5type summary add -w lldb lldb_private::UserID -s "UserID(${var.m_uid})" 6type summary add -w lldb lldb_private::ValueObject -s "${var.m_name}" 7type summary add -w lldb lldb_private::ValueObjectSP -s "${var.ptr_.m_name}" 8type summary add -w lldb lldb_private::ValueObjectRegister -s "${var.m_reg_info.name}" 9type summary add -w lldb lldb_private::ClangExpression -s "{${var.m_expr_text}}" 10type summary add -w lldb lldb_private::CommandObject -s "Command name: ${var.m_cmd_name}" 11type summary add -w lldb lldb_private::Variable -s "${var.m_type.m_name} ${var.m_name}" 12type summary add -w lldb lldb_private::StopInfo -s "ID: ${var.m_stop_id}, ${var.m_description}" 13type summary add -w lldb lldb_private::FileSpec -s "file: ${var.m_filename%S} dir: ${var.m_directory%S}" 14type summary add -v -w lldb lldb::ConnectionStatus -s "[enum=${var%E} val=${var%i}]" 15# Where '-v' tells type summary not to show the value itself, but just use the summary format. 16 17type summary add -w lldb "lldb_private::ThreadSafeValue<lldb::StateType>" -s "${var.m_value}" 18type summary add -w lldb lldb_private::CompileUnit -s "file: ${var.m_filename%S} dir: ${var.m_directory%S}" 19type summary add -w lldb "lldb_private::Module" -s "${var.m_file%S}" 20type summary add -w lldb "lldb_private::ModuleSpec" -s "${var.m_file%S}" 21type summary add -w lldb "lldb_private::ModuleList" -s "${var.m_modules%S}" 22type summary add -w lldb "lldb::ModuleSP" -s "${var._M_ptr%S}" 23type summary add -w lldb "lldb_private::Process" -s "Public: ${var.m_public_state%S} Private: ${var.m_private_state%S}" 24type summary add -w lldb "DynamicLoaderMacOSXDYLD::DYLDImageInfo" -s "${var.file_spec%S}" 25 26type format add -f x lldb::addr_t 27 28type category enable lldb 29