Files
clang-p2996/lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
Michael Buch 7493d45408 [lldb][DataFormatter] unordered_map: account for new libc++ __hash_node layout (#68574)
Since D101206 (`ba79fb2e1ff7130cde02fbbd325f0f96f8a522ca`) the `__hash_node::__value_`
member is wrapped in an anonymous union. `ValueObject::GetChildMemberWithName` doesn't see
through the union.

This patch accounts for this possible new layout by getting a handle to
the union before doing the by-name `__value_` lookup.
2023-10-13 16:44:11 +01:00

9.2 KiB