summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectDynamicValue.cpp
diff options
context:
space:
mode:
authorEnrico Granata <granata.enrico@gmail.com>2011-08-02 23:12:24 +0000
committerEnrico Granata <granata.enrico@gmail.com>2011-08-02 23:12:24 +0000
commitd8b5fce230a7c5cfea882cccd7d403c964c8b1b5 (patch)
tree2baafd2a61138bc362f3ad49a86f5b0ad7ee746f /lldb/source/Core/ValueObjectDynamicValue.cpp
parent3c14505164fd0b2111e6906ca3671b55e87b18f6 (diff)
downloadbcm5719-llvm-d8b5fce230a7c5cfea882cccd7d403c964c8b1b5.tar.gz
bcm5719-llvm-d8b5fce230a7c5cfea882cccd7d403c964c8b1b5.zip
bug fix in SBValue::CreateValueFromAddress() where using the resulting VO as a pointer would crash LLDB ; minor improvements in dynamic formatters lookup
llvm-svn: 136743
Diffstat (limited to 'lldb/source/Core/ValueObjectDynamicValue.cpp')
-rw-r--r--lldb/source/Core/ValueObjectDynamicValue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Core/ValueObjectDynamicValue.cpp b/lldb/source/Core/ValueObjectDynamicValue.cpp
index beecaa95238..f48bebd7d7e 100644
--- a/lldb/source/Core/ValueObjectDynamicValue.cpp
+++ b/lldb/source/Core/ValueObjectDynamicValue.cpp
@@ -40,6 +40,7 @@ ValueObjectDynamicValue::ValueObjectDynamicValue (ValueObject &parent, lldb::Dyn
m_type_sp(),
m_use_dynamic (use_dynamic)
{
+ m_last_format_mgr_dynamic = use_dynamic;
SetName (parent.GetName());
}
OpenPOWER on IntegriCloud