mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ReflectionContext::allocationMetadataPointer() was reading the metadata pointer from a wrong offset because of the out-of-sync struct layouts and dump-generic-metadata was not working correctly. This change resync's the layouts and adds a static_assert to verify that the offsets match between GenericMetadataCacheEntry and GenericCacheEntry.
1.3 KiB
1.3 KiB