[Lldb-commits] [lldb] r164327 - /lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp

Greg Clayton gclayton at apple.com
Thu Sep 20 16:07:44 PDT 2012


Author: gclayton
Date: Thu Sep 20 18:07:44 2012
New Revision: 164327

URL: http://llvm.org/viewvc/llvm-project?rev=164327&view=rev
Log:
Show the size of what we are dematerializing in the output log for "lldb expr".


Modified:
    lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp

Modified: lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp?rev=164327&r1=164326&r2=164327&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp Thu Sep 20 18:07:44 2012
@@ -1664,7 +1664,7 @@
                 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
                                 





More information about the lldb-commits mailing list