[all-commits] [llvm/llvm-project] 99ecce: Teach LLDB's pretty-printer about libc++'s various...

Christopher Di Bella via All-commits all-commits at lists.llvm.org
Thu Jun 11 14:01:28 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99ecce0d4adacbe71cce8e27e427011c76ead17f
      https://github.com/llvm/llvm-project/commit/99ecce0d4adacbe71cce8e27e427011c76ead17f
  Author: Christopher Di Bella <cjdb at google.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/invalid-vector/TestDataFormatterLibcxxInvalidVectorSimulator.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/invalid-vector/main.cpp
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/vector/Makefile
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/vector/TestDataFormatterLibcxxVectorSimulator.py
    A lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/vector/main.cpp

  Log Message:
  -----------
  Teach LLDB's pretty-printer about libc++'s various `std::vector` layouts (#202438)

PR #155330 changes `std::vector` from unconditionally using three
pointers to represent its layout to potentially using three pointers or
a begin pointer and two integers. This commit changes LLDB so that it
can robustly work with the legacy vector layout, the new pointer layout,
and the new size-based layout.



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