[lldb] Format `atomic<shared_ptr>` on MSVC STL (#237631)
Continues #174218 and adds support for atomic shared and weak pointers.
The MSVC STL stores both shared and weak pointers as:
```cpp
template <class _Ty>
class _Atomic_ptr_base {
atomic<remove_extent_t<_Ty>*> _Ptr{nullptr};
mutable _Locked_pointer<_Ref_count_base> _Repptr;
};
```
Similar to #174218, I factored out the formatting of the summary.
Getting to the `_Ref_count_base` struct is a bit inconvenient for PDB,
because it doesn't reflect the type inside a field and template
parameters are unavailable.
GitOrigin-RevId: f4197a466d93440e43981a53f91daeb8144447e0
6 files changed