================ @@ -254,6 +256,29 @@ lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd:: Update(); } +llvm::Expected<uint32_t> +lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd:: + CalculateNumChildrenForOldCompressedPairLayout() { + ValueObjectSP node_sp(m_tree->GetChildMemberWithName("__pair3_")); + if (!node_sp) + return 0; + + // TODO: or should this just be: assert + // (!isOldCompressedPairLayout(*node_sp)); ---------------- labath wrote:
I don't think so, as this could also be triggered by a some change in libc++, missing/corrupted debug info, etc. https://github.com/llvm/llvm-project/pull/96538 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits