mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This adds various MetadataReader methods to support closure layout: - Reading generic arguments from metadata - Reading parent metadata - Reading capture descriptor from heap metadata To a large extent, this is not currently taken advantage of, because SILGen always wraps address-only captures in SIL box types. Tests are in the next patch.