Skip to content

[6.2] MandatoryPerformanceOptimization: don't recursive into referenced functions if they are not called #82565

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

Merged

Conversation

eeckstein
Copy link
Contributor

@eeckstein eeckstein commented Jun 27, 2025

…ctions if they are not called

Fixes a false compiler error when referencing a function from a global with a section attribute.

rdar://154332540
@eeckstein eeckstein requested a review from a team as a code owner June 27, 2025 14:13
@eeckstein eeckstein requested a review from kubamracek June 27, 2025 14:14
@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein
Copy link
Contributor Author

@swift-ci test macos

@eeckstein eeckstein merged commit f5f058f into swiftlang:release/6.2 Jun 28, 2025
5 checks passed
@eeckstein eeckstein deleted the fix-mandatory-perfopt-6.2 branch June 28, 2025 17:21
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

Successfully merging this pull request may close these issues.

3 participants