-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Rewrite ClosureScopeAnalysis for generality. #41826
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
@swift-ci test |
@swift-ci test source compatibility |
@swift-ci benchmark |
@swift-ci test macos |
@swift-ci test windows |
All the non-smoke-test targets are failing when updating the git repos |
I'm planning to merge this later today or tomorrow. As soon as CI is cooperative. |
@swift-ci test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
@shahmishal I'd like to get this merged asap, but can't figure out why Mac PR testing fails the same way each time as follows:
|
I will look into this right now |
@swift-ci clean test macOS |
@shahmishal hope I didn't mess up your investigation by starting a clean build. Here's one of the failure logs: https://ci.swift.org/job/swift-PR-macos-perf/68/console |
This radically simplifies the representation of function sets when analyzing the entire module's call graph at once.
119c8f9
to
87d6007
Compare
@swift-ci smoke test |
@swift-ci test |
@swift-ci clean test macOS |
Handle recursive non-escaping local functions. Previously, it was thought that recursion would force a closure to be escaping. This is not necessarilly true. Update AccessEnforcementSelection to conservatively handle closure cycles. Fixes rdar://88726092 (Compiler hangs when building)
87d6007
to
ddf0965
Compare
@swift-ci smoke test |
@swift-ci test |
Possibly a spurious swifpm failure:
|
@swift-ci smoke test macOS |
Handle recursive non-escaping local functions.
Previously, it was thought that recursion would force a closure to be
escaping. This is not necessarilly true.
Update AccessEnforcementSelection to conservatively handle closure cycles.
Fixes rdar://88726092 (Compiler hangs when building)