-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add -no-whole-module-optimization #29362
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
This adds an argument to allow negating `-whole-module-optimization`. This is useful for cases where it's easier to add an extra flag to your swiftc invocation rather than removing the original one.
@swift-ci please smoke test |
Thanks for the review, updated accordingly! |
@swift-ci please smoke test |
Also, going forward, in case you need someone to review/kick off tests, please feel free to @ me or someone else. Worst case, they ping someone else who might be better suited to do the review. It is not great if people hang around waiting for a reviewer and eventually have the patch fall through the cracks. |
Great thank you! |
Should i submit a similar change to the new driver project as well? |
Sure, good thing that you suggested that! I totally forgot about it 😅. |
For that one, you should probably @ CodaFi or brentdax for review since they are more familiar with the code. |
Another thought, should I make |
I don't follow. You already added |
Yea just to have the analogy of having both flags |
(Since |
Here's what the change would be #29476 no strong preference if you don't feel like it's necessary! |
This mirrors this change swiftlang/swift#29362
Here's the swift-driver PR for this change swiftlang/swift-driver#64 |
This adds an argument to allow negating
-whole-module-optimization
.This is useful for cases where it's easier to add an extra flag to your
swiftc invocation rather than removing the original one.