Fix a couple issues where trying to print a type would cause LLDB to crash

llvm-svn: 250340
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 2ffb6d6..3837588 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -4431,7 +4431,7 @@
                     if (!g_printed)
                     {
                         StreamString s;
-                        DumpTypeDescription(&s);
+                        DumpTypeDescription(type, &s);
                         
                         llvm::outs() << "warning: trying to determine the size of type ";
                         llvm::outs() << s.GetString() << "\n";
@@ -8822,7 +8822,7 @@
 ClangASTContext::DumpTypeDescription (lldb::opaque_compiler_type_t type)
 {
     StreamFile s (stdout, false);
-    DumpTypeDescription (&s);
+    DumpTypeDescription (type, &s);
     ClangASTMetadata *metadata = ClangASTContext::GetMetadata (getASTContext(), type);
     if (metadata)
     {