[Lldb-commits] [lldb] [LLDB] Add formatters for MSVC STL std::shared_ptr (PR #147575)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 9 06:46:04 PDT 2025


================
@@ -16,7 +16,7 @@ lldb::ValueObjectSP lldb_private::formatters::GetDesugaredSmartPointerValue(
 
   auto arg = container_type.GetTypeTemplateArgument(0);
   if (!arg)
-    return nullptr;
+    return ptr.GetSP(); // FIXME: PDB doesn't have info about template arguments
----------------
Michael137 wrote:

Instead of adding a workaround here can we just not call this at all in `MsvcStlSmartPointer.cpp? And add a `FIXME` there

https://github.com/llvm/llvm-project/pull/147575


More information about the lldb-commits mailing list