Skip to content
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-3911] Evaluate ABI impact of going from opaque layouts to freezing the layout for performance #46496

Closed
ematejska mannequin opened this issue Feb 9, 2017 · 2 comments
Labels
affects ABI Flag: Affects ABI bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself

Comments

@ematejska
Copy link
Mannequin

ematejska mannequin commented Feb 9, 2017

Previous ID SR-3911
Radar rdar://problem/24057817
Original Reporter @ematejska
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, AffectsABI
Assignee None
Priority Medium

md5: 4d423078b6dbeed09e52552c34924b9e

duplicates:

  • SR-260 Add availability information to @_fixed_layout attribute

Issue Description:

For Library Evolution, annotations may be applied to a library's types in future versions of that library to freeze the layout for performance even if the layout of these types was opaque in the past versions of the library. In this case, the annotations are versioned, yet the library remains binary compatible. This task is to investigate the ABI impact of this.

@bob-wilson
Copy link
Contributor

@swift-ci create

@bob-wilson
Copy link
Contributor

This is a duplicate of SR-260: Add availability information to @_fixed_layout attribute

It is not immediately needed for ABI stability. This will first matter in some future release when an opaque type changes to have a fixed layout, so it can be done after locking down for the stable ABI.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects ABI Flag: Affects ABI bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler itself
Projects
None yet
Development

No branches or pull requests

1 participant