commit | 9d436e2f73246c3cb0d4ada5f75b4b0ee30e17b0 | [log] [tgz] |
---|---|---|
author | Nikolas Klauser <[email protected]> | Thu Jun 26 17:43:59 2025 |
committer | Copybara-Service <[email protected]> | Thu Jun 26 17:46:15 2025 |
tree | 9ee92f15304ec3aca0c911ee1e3f7facd2113fa3 | |
parent | 640e9c23a4e2a05a4cfecbec8f299e21d12b9052 [diff] |
[libc++] Avoid type-punning between __hash_value_type and pair (#143501) This patch is very similar to #134819 in nature. Before this patch, we were dereferencing pointers to objects which were never constructed. Now we always assume that nodes store `pair<const KeyT, ValueT>` for unordered_maps instead, as they actually do. NOKEYCHECK=True GitOrigin-RevId: 4c8fab399b2ebf37f6a560bc2d5c6b4f0045a19f