-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-3732] Lock down the layout of a protocol witness table #46317
Labels
Comments
@swift-ci create |
To support specialized witness tables in the future, we may need to install a unique identifier in the first word of the witness table to identify the conformance. |
The unique identifier is done now that @DougGregor added conformance records. If anyone thinks of anything else, please file a new bug. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Additional Detail from JIRA
md5: aaddd601f93b5cf0ce1a5be73a9d2bb1
Issue Description:
Protocol witness tables may be created dynamically by the runtime or statically by the compiler. The layout of a protocol witness table is ABI and we need to determine a layout algorithm that also accommodates library evolution concerns, where additional protocol requirements may be added with default fall-backs.
The text was updated successfully, but these errors were encountered: