[cxx-interop] Layout reference types that use tail padding of their bases correctly #80344
[cxx-interop] Cleanup a test
2abed96e
[cxx-interop] Layout reference types that use tail padding of their b…
ba8ba57c
Xazax-hun
approved these changes
on 2025-03-28
egorzhdan
merged
63c24afd
into main 104 days ago
egorzhdan
deleted the egorzhdan/frt-tail-padding branch 104 days ago
Assignees
No one assigned
This is a follow-up to d3e43bb which resolved the issue for value types, but not for foreign reference types.
This change teaches IRGen that a base type of a C++ type might occupy less memory than its
sizeof
, specifically, it might only usedsize
amount of memory.rdar://147527755