Move the "Object Description" into the ValueObject, and the add an API to
SBValue to access it.  For now this is just the result of ObjC NSPrintForDebugger,
but could be extended.  Also store the results of the ObjC Object Printer in a
Stream, not a ConstString.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113660 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBValue.cpp b/source/API/SBValue.cpp
index f92be9f..a90c1bf 100644
--- a/source/API/SBValue.cpp
+++ b/source/API/SBValue.cpp
@@ -176,6 +176,15 @@
     return value_string;
 }
 
+const char *
+SBValue::GetObjectDescription (const SBFrame &frame)
+{
+    const char *value_string = NULL;
+    if ( m_opaque_sp)
+        value_string = m_opaque_sp->GetObjectDescription (frame.get());
+    return value_string;
+}
+
 bool
 SBValue::GetValueDidChange (const SBFrame &frame)
 {