Skip to content

Add -no-whole-module-optimization flag #64

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
merged 1 commit into from
Jan 27, 2020

Conversation

keith
Copy link
Member

@keith keith commented Jan 27, 2020

This mirrors this change swiftlang/swift#29362

@keith
Copy link
Member Author

keith commented Jan 27, 2020

cc @CodaFi @varungandhi-apple

@@ -721,7 +721,7 @@ extension Driver {
// Some output flags affect the compiler mode.
if let outputOption = parsedOptions.getLast(in: .modes) {
switch outputOption.option {
case .emitPch, .emitImportedModules, .indexFile:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this was here previously all the logic below around indexFile appeared to have never worked. This fixed this and added a test for it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, thank you! -index-file hasn't really be implemented or tested.

@@ -721,7 +721,7 @@ extension Driver {
// Some output flags affect the compiler mode.
if let outputOption = parsedOptions.getLast(in: .modes) {
switch outputOption.option {
case .emitPch, .emitImportedModules, .indexFile:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, thank you! -index-file hasn't really be implemented or tested.

@DougGregor
Copy link
Member

@swift-ci please test

@DougGregor DougGregor merged commit f4f4759 into swiftlang:master Jan 27, 2020
@keith
Copy link
Member Author

keith commented Jan 27, 2020

Thanks!

@keith keith deleted the ks/no-wmo branch January 27, 2020 23:25
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.

2 participants