[all-commits] [llvm/llvm-project] da68e7: [LLDB] Add formatters for MSVC STL std::unique_ptr...

nerix via All-commits all-commits at lists.llvm.org
Mon Jul 14 03:19:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da68e72b1bd1c2e6a38b42c49941b3541e1b9a67
      https://github.com/llvm/llvm-project/commit/da68e72b1bd1c2e6a38b42c49941b3541e1b9a67
  Author: nerix <nerixdev at outlook.de>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
    M lldb/source/Plugins/Language/CPlusPlus/MsvcStl.h
    M lldb/source/Plugins/Language/CPlusPlus/MsvcStlSmartPointer.cpp
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unique_ptr/TestDataFormatterStdUniquePtr.py

  Log Message:
  -----------
  [LLDB] Add formatters for MSVC STL std::unique_ptr (#148248)

This PR adds a summary and synthetic children for `std::unique_ptr` from
MSVC's STL
([NatVis](https://github.com/microsoft/STL/blob/313964b78a8fd5a52e7965e13781f735bcce13c5/stl/debugger/STL.natvis#L285-L303)).

As with libc++, the deleter is only shown if it's non-empty.

Tested both the shared_ptr and unique_ptr tests on Windows.
Towards #24834.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list