Skip to content

[Batch mode] Merge pull request #15578 from davidungar/PR-19-warn-WMO-batch #15606

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

davidungar
Copy link
Contributor

[Batch mode] Warn the user if -enable-batch-mode gets overridden by -whole-module-optimization or -index-file.

Explanation: Issue a warning to prevent confusion when the compiler ignores -enable-batch-mode because of either -whole-module-optimization or -index-file.
Scope of Issue: Users trying out batch mode will think it does no good because the compiler silently ignores their requests.
Origination: Issue has existed since we implemented batch mode.
Risk: Minimal, because only functional change is a warning. There is a tiny bit of refactoring, which has been carefully reviewed.
Reviewed by: Jordan Rose & Graydon Hoare.
Testing: Normal regression tests + this PR includes a new test of the new functionality
Radar: rdar://39012584

[Batch mode] Warn the user if -enable-batch-mode gets overridden by -whole-module-optimization or -index-file.
@davidungar
Copy link
Contributor Author

@swift-ci please test

@davidungar
Copy link
Contributor Author

@swift-ci please nominate

@davidungar davidungar merged commit c46546e into swiftlang:swift-4.2-branch Mar 30, 2018
@davidungar davidungar deleted the rdar-39012584-warn-when-ignoring-batch-mode-swift-4.2-branch branch June 20, 2019 21:27
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.

1 participant