Commit a421f18
committed
[lldb][DataFormatter] unordered_map: account for new libc++ __hash_node layout
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.1 parent df116d1 commit a421f18
File tree
1 file changed
+13
-2
lines changed- lldb/source/Plugins/Language/CPlusPlus
1 file changed
+13
-2
lines changedLines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | 165 | | |
167 | | - | |
| 166 | + | |
168 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
169 | 180 | | |
170 | 181 | | |
171 | 182 | | |
| |||
0 commit comments