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
This commit is contained in:
Sean Callanan 2014-10-31 18:07:44 +00:00
parent 9dfe45ff1c
commit acff5e60b5
1 changed files with 1 additions and 10 deletions

View File

@ -240,17 +240,8 @@ ValueObjectDynamicValue::UpdateValue ()
if (found_dynamic_type)
{
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());
}
}
else
{