From bb011f73f5453a30b92aa313320d44e3ebd40a00 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Thu, 20 Sep 2012 23:07:44 +0000 Subject: Show the size of what we are dematerializing in the output log for "lldb expr". llvm-svn: 164327 --- lldb/source/Expression/ClangExpressionDeclMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp') diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 36865217e16..6e597655ec8 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -1664,7 +1664,7 @@ ClangExpressionDeclMap::DoMaterializeOnePersistentVariable mem = var_sp->m_live_sp->GetValue().GetScalar().ULongLong(); if (log) - log->Printf("Dematerializing %s from 0x%llx", var_sp->GetName().GetCString(), (uint64_t)mem); + log->Printf("Dematerializing %s from 0x%llx (size = %u)", var_sp->GetName().GetCString(), (uint64_t)mem, (unsigned)pvar_byte_size); // Read the contents of the spare memory area -- cgit v1.2.3