swift
909ac550 - [SIL] Add a new attribute [serialized_for_package] to support

Commit
1 year ago
[SIL] Add a new attribute [serialized_for_package] to support package-wide resilience domain if Package CMO is enabled. The purpose of the attribute includes: - Indicates that certain types such as loadable types are allowed in serialized functions in resiliently built module if the optimization is enabled, which are otherwise disallowed. - Used during SIL deserialization to determine whether such functions are allowed. - Used to determine if a callee can be inlined into a caller that's serialized without package-cmo, e.g. with an explicit annotation like @inlinable, where the callee was serialized due to package-cmo. Resolves rdar://127870822
Author
Committer
Parents
Loading