[Lldb-commits] [lldb] [lldb][Formatters] Consistently unwrap pointer element_type in std::shared_ptr formatters (PR #147340)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 8 06:10:19 PDT 2025


================
@@ -19,6 +19,11 @@ namespace formatters {
 bool GenericOptionalSummaryProvider(ValueObject &valobj, Stream &stream,
                                     const TypeSummaryOptions &options);
 
+/// Return the ValueObjectSP of the underlying pointer member whose type
+/// is a desugared 'std::shared_ptr::element_type *'.
+lldb::ValueObjectSP GetCxxSmartPtrElementPointerType(ValueObject &ptr,
----------------
labath wrote:

`GetDesugaredSmartPointerValue` ?

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


More information about the lldb-commits mailing list