mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This enables optimizing / dead-stripping of witness methods across modules at LTO time. - Under -internalize-at-link, restrict visibility of wtables to linkage unit. - Emit thunks for cross-module wcalls when WME is enabled. - Use thunks for wcalls across modules when WME is enabled. - Adjust TBDGen to account for witness method thunks when WME is enabled. - Add an IR test to check that thunks are used when doing cross-module calls. - Add an end-to-end test case for cross-module WME.
84 KiB
84 KiB