summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/Materializer.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2013-11-11 19:40:51 +0000
committerEd Maste <emaste@freebsd.org>2013-11-11 19:40:51 +0000
commitd23dcbfb5358f8b2f52e7e24550d0a88471edae1 (patch)
tree1166d82cff30d0a7ff7b44f1b6431a1667c4e495 /lldb/source/Expression/Materializer.cpp
parente19d5094ee30c1c26b6d9198ac31c34c8d96ddab (diff)
downloadbcm5719-llvm-d23dcbfb5358f8b2f52e7e24550d0a88471edae1.tar.gz
bcm5719-llvm-d23dcbfb5358f8b2f52e7e24550d0a88471edae1.zip
Increase log detail for size mismatch in EntityVariable::Materialize
llvm-svn: 194413
Diffstat (limited to 'lldb/source/Expression/Materializer.cpp')
-rw-r--r--lldb/source/Expression/Materializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/Materializer.cpp b/lldb/source/Expression/Materializer.cpp
index fb9522f0dc3..48008ccb3e5 100644
--- a/lldb/source/Expression/Materializer.cpp
+++ b/lldb/source/Expression/Materializer.cpp
@@ -492,7 +492,7 @@ public:
}
else
{
- err.SetErrorStringWithFormat("size of variable %s disagrees with the ValueObject's size", m_variable_sp->GetName().AsCString());
+ err.SetErrorStringWithFormat("size of variable %s (%zu) disagrees with the ValueObject's size (%zu)", m_variable_sp->GetName().AsCString(), m_variable_sp->GetType()->GetByteSize(), data.GetByteSize());
}
return;
}
OpenPOWER on IntegriCloud