From acff5e60b5976b0f6bd7d7ae6c138fb8572bd155 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Fri, 31 Oct 2014 18:07:44 +0000 Subject: [PATCH] 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 --- lldb/source/Core/ValueObjectDynamicValue.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lldb/source/Core/ValueObjectDynamicValue.cpp b/lldb/source/Core/ValueObjectDynamicValue.cpp index 30a42f094610..1b8ec8083f8f 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 {