diff options
Diffstat (limited to 'lldb/source/Core/ValueObject.cpp')
| -rw-r--r-- | lldb/source/Core/ValueObject.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp index fe34724e311..9debcc0318a 100644 --- a/lldb/source/Core/ValueObject.cpp +++ b/lldb/source/Core/ValueObject.cpp @@ -3223,12 +3223,11 @@ DumpValueObject_Impl (Stream &s, s.Printf(", dynamic type: unknown) "); else { - ObjCLanguageRuntime::ObjCISA isa = runtime->GetISA(*valobj); - if (!runtime->IsValidISA(isa)) - s.Printf(", dynamic type: unknown) "); + ObjCLanguageRuntime::ClassDescriptorSP objc_class_sp (runtime->GetNonKVOClassDescriptor(*valobj)); + if (objc_class_sp) + s.Printf(", dynamic type: %s) ", objc_class_sp->GetClassName().GetCString()); else - s.Printf(", dynamic type: %s) ", - runtime->GetActualTypeName(isa).GetCString()); + s.Printf(", dynamic type: unknown) "); } } } |

