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

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 7 00:44:20 PDT 2025


https://github.com/labath approved this pull request.

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.

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


More information about the lldb-commits mailing list