[Lldb-commits] [lldb] [lldb][Formatters] Make libc++ and libstdc++ std::shared_ptr formatters consistent with each other (PR #147165)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 7 01:13:33 PDT 2025


Michael137 wrote:

> Ah, I see you've done that already.
> 
> Not required, but I noticed that the pointer child still contains the goo:
> 
> ```
> (lldb) v a.__ptr_
> (std::shared_ptr<int>::element_type *) a.__ptr_ = 0x000055555555a2b8
> ```
> 
> If we do the casting centrally, we could have both of these appear the same way.

Good point. I'll address that separately once I merge the combined tests

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


More information about the lldb-commits mailing list