[all-commits] [llvm/llvm-project] 5ce9a8: [lldb] Make variant formatter work with libstdc++-...

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Jul 8 03:06:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ce9a86110df0592d036688dc5b3ae2fbdbf99db
      https://github.com/llvm/llvm-project/commit/5ce9a86110df0592d036688dc5b3ae2fbdbf99db
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M lldb/examples/synthetic/gnu_libstdcpp.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/variant/TestDataFormatterLibStdcxxVariant.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/variant/main.cpp

  Log Message:
  -----------
  [lldb] Make variant formatter work with libstdc++-14 (#97568)

In this version the internal data member has grown an additional
template parameter (bool), which was throwing the summary provider off.

This patch uses the type of the entire variant object. This is part of
the API/ABI, so it should be more stable, but it means we have to
explicitly strip typedefs and references to get to the interesting bits,
which is why I've extended the test case with examples of those.



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