================
@@ -16,7 +18,23 @@ lldb::ValueObjectSP 
lldb_private::formatters::GetDesugaredSmartPointerValue(
 
   auto arg = container_type.GetTypeTemplateArgument(0);
   if (!arg)
-    return ptr.GetSP(); // FIXME: PDB doesn't have info about template 
arguments
+    // If there isn't enough debug info, use the pointer type as is
+    return ptr.GetSP();
 
   return ptr.Cast(arg.GetPointerType());
 }
+
+lldb_private::SyntheticChildrenFrontEnd *
+lldb_private::formatters::GenericSmartPointerSyntheticFrontEndCreator(
----------------
Nerixyz wrote:

Done in 
https://github.com/llvm/llvm-project/commit/9b88cec72b274360331e7c7bf89e6133b8fbe6d0.

https://github.com/llvm/llvm-project/pull/147575
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to