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-11944] Swift Frontend emits too many system framework dependencies #54364

Closed
robinkunde opened this issue Dec 11, 2019 · 0 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@robinkunde
Copy link
Contributor

Previous ID SR-11944
Radar None
Original Reporter @robinkunde
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 74c01e52ff2e7bce92e9e79c56eaa5bd

duplicates:

  • SR-11927 Swift compiler chokes when incrementally building one file out of many

relates to:

  • SR-11945 Swift frontend is too conservative when emitting dependencies
  • SR-11927 Swift compiler chokes when incrementally building one file out of many

Issue Description:

Starting with Xcode 11.x, the make-style dependency files (*.d) emitted by the frontend contain a greatly increased amount of information related to system frameworks.

In the example project attached, the size of the .d emitted for each Swift file increased from 9kb (Xcode 10.3) to 639kb (Xcode 11.3). Since the exact same information is emitted for every Swift file (SR-11945), this can lead to a significant regression in compile times.

@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
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant