diff options
author | Enrico Granata <egranata@apple.com> | 2014-10-06 21:00:30 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-10-06 21:00:30 +0000 |
commit | 9aceaa1be2b67f18a461035de9f39a5e8152fc16 (patch) | |
tree | 91962379c4149977d1146ee5c1247c66a74b0850 /lldb/source/Core | |
parent | 98085953192ef6491c858e14e330b2f1324ff2ba (diff) | |
download | bcm5719-llvm-9aceaa1be2b67f18a461035de9f39a5e8152fc16.tar.gz bcm5719-llvm-9aceaa1be2b67f18a461035de9f39a5e8152fc16.zip |
Fix a problem where LLDB was constructing a TypeImpl marking the dynamic type as the static type. Instead use the TypeImpl() constructor correctly
llvm-svn: 219142
Diffstat (limited to 'lldb/source/Core')
-rw-r--r-- | lldb/source/Core/ValueObjectDynamicValue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObjectDynamicValue.cpp b/lldb/source/Core/ValueObjectDynamicValue.cpp index a6fad7a9b1f..3481bdedf38 100644 --- a/lldb/source/Core/ValueObjectDynamicValue.cpp +++ b/lldb/source/Core/ValueObjectDynamicValue.cpp @@ -249,7 +249,7 @@ ValueObjectDynamicValue::UpdateValue () } else { - m_type_impl = TypeImpl(FixupTypeAndOrName(class_type_or_name, *m_parent).GetClangASTType()); + m_type_impl = TypeImpl(m_parent->GetClangType(),FixupTypeAndOrName(class_type_or_name, *m_parent).GetClangASTType()); } } else |