[all-commits] [llvm/llvm-project] 15cde9: [LLDB] Check type before creating `std::atomic` sy...

nerix via All-commits all-commits at lists.llvm.org
Mon Oct 13 10:25:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15cde999d47c3edc7647faf5fd967f5d5d88416a
      https://github.com/llvm/llvm-project/commit/15cde999d47c3edc7647faf5fd967f5d5d88416a
  Author: nerix <nerixdev at outlook.de>
  Date:   2025-10-13 (Mon, 13 Oct 2025)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxAtomic.h
    M lldb/source/Plugins/Language/CPlusPlus/MsvcStl.h
    M lldb/source/Plugins/Language/CPlusPlus/MsvcStlAtomic.cpp
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic-simulators/invalid-atomic/Makefile
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic-simulators/invalid-atomic/TestDataFormatterInvalidAtomic.py
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic-simulators/invalid-atomic/main.cpp

  Log Message:
  -----------
  [LLDB] Check type before creating `std::atomic` synthetic children (#163176)

From
https://github.com/llvm/llvm-project/pull/163077#issuecomment-3396435083:
Currently, `std::atomic<T>` will always use the MSVC STL synthetic
children and summary. When inspecting types from other STLs, the output
would not show any children.

This PR adds a check that `std::atomic` contains `_Storage` to be
classified as coming from MSVC's STL.



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