summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/Materializer.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2015-11-10 21:48:05 +0000
committerSean Callanan <scallanan@apple.com>2015-11-10 21:48:05 +0000
commitedd508b3620564cfc721669abd2b63b858290867 (patch)
tree6e8ccc8724454275aff43f0e7f5cee71bed7fdf2 /lldb/source/Expression/Materializer.cpp
parent3c44c6f189a52eb37b1f15e2aff0eebf71bae118 (diff)
downloadbcm5719-llvm-edd508b3620564cfc721669abd2b63b858290867.tar.gz
bcm5719-llvm-edd508b3620564cfc721669abd2b63b858290867.zip
Fixed a bug where the size of a type was used instead of the size of a pointer.
llvm-svn: 252655
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 f69a1cd93f8..8d68b4f7981 100644
--- a/lldb/source/Expression/Materializer.cpp
+++ b/lldb/source/Expression/Materializer.cpp
@@ -112,7 +112,7 @@ public:
m_persistent_variable_sp->GetName(),
mem,
eAddressTypeLoad,
- m_persistent_variable_sp->GetByteSize());
+ map.GetAddressByteSize());
// Clear the flag if the variable will never be deallocated.
OpenPOWER on IntegriCloud