summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2014-10-31 18:07:44 +0000
committerSean Callanan <scallanan@apple.com>2014-10-31 18:07:44 +0000
commitacff5e60b5976b0f6bd7d7ae6c138fb8572bd155 (patch)
tree2b3b3e5d317e8d909046902eb07b278bba9edadb
parent9dfe45ff1cbd4b06ffdd731b9f4c5fa533f311cb (diff)
downloadbcm5719-llvm-acff5e60b5976b0f6bd7d7ae6c138fb8572bd155.tar.gz
bcm5719-llvm-acff5e60b5976b0f6bd7d7ae6c138fb8572bd155.zip
In ValueObjectDynamicValue, trust what comes from
the runtime rather than trying to fix it up, because now those types have ivars regardless of whether they come from "frame variable" or from expressions. Patch by Enrico Granata. llvm-svn: 220982
-rw-r--r--lldb/source/Core/ValueObjectDynamicValue.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/lldb/source/Core/ValueObjectDynamicValue.cpp b/lldb/source/Core/ValueObjectDynamicValue.cpp
index 30a42f09461..1b8ec8083f8 100644
--- a/lldb/source/Core/ValueObjectDynamicValue.cpp
+++ b/lldb/source/Core/ValueObjectDynamicValue.cpp
@@ -241,16 +241,7 @@ ValueObjectDynamicValue::UpdateValue ()
{
if (class_type_or_name.HasType())
{
- // TypeSP are always generated from debug info
- if (!class_type_or_name.HasTypeSP() && class_type_or_name.GetClangASTType().IsRuntimeGeneratedType())
- {
- m_type_impl = TypeImpl(m_parent->GetClangType(),FixupTypeAndOrName(class_type_or_name, *m_parent).GetClangASTType());
- class_type_or_name.SetClangASTType(ClangASTType());
- }
- else
- {
- m_type_impl = TypeImpl(m_parent->GetClangType(),FixupTypeAndOrName(class_type_or_name, *m_parent).GetClangASTType());
- }
+ m_type_impl = TypeImpl(m_parent->GetClangType(),FixupTypeAndOrName(class_type_or_name, *m_parent).GetClangASTType());
}
else
{
OpenPOWER on IntegriCloud