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

Investigate potential over-emission of force load symbols #187

Open
compnerd opened this issue Jul 23, 2024 · 0 comments
Open

Investigate potential over-emission of force load symbols #187

compnerd opened this issue Jul 23, 2024 · 0 comments

Comments

@compnerd
Copy link
Collaborator

While cleaning up the SPM build, I noticed that there was a significant amount of over-linking for libraries. The primary driver for this was the over-use of force load symbols which forced the dependency preservation over a large area of the Swift PM codebase without any use of public functions. We should ensure that this is not a bug in the compiler that is forcing extra libraries to be persisted and loaded into the address space unnecessarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant