Skip to content

[5.3] IRGen: Give ObjC metadata symbols internal linkage. #33193

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

Conversation

jckarter
Copy link
Contributor

@jckarter jckarter commented Jul 29, 2020

Explanation: This preserves the symbol names for ObjC metadata for Swift classes in (unstripped) binaries, so we can use them for link ordering and memory usage analysis.

Risk: Low, should be no impact on runtime behavior

Issue: rdar://problem/66292096

Testing: Swift CI

Reviewed by: @aschwaighofer

@jckarter jckarter requested a review from aschwaighofer July 29, 2020 21:47
@jckarter jckarter requested a review from a team as a code owner July 29, 2020 21:47
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@jckarter jckarter added the r5.3 label Jul 29, 2020
@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 257d721bc1cdf9437999e50285f442de40be9b1f

This preserves the symbol names in (unstripped) binaries, so we can use them for link ordering and
memory usage analysis.
@jckarter jckarter force-pushed the internal-linkage-objc-symbols-5.3 branch from 257d721 to 19ebcde Compare July 30, 2020 16:14
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 257d721bc1cdf9437999e50285f442de40be9b1f

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 257d721bc1cdf9437999e50285f442de40be9b1f

@jckarter
Copy link
Contributor Author

@swift-ci Please nominate

@airspeedswift airspeedswift merged commit 9a3a92b into swiftlang:release/5.3 Jul 30, 2020
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants