-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Compilation cleanup #7827
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
Compilation cleanup #7827
Conversation
lib/Driver/Compilation.cpp
Outdated
@@ -266,6 +266,18 @@ namespace driver { | |||
parseable_output::emitBeganMessage(llvm::errs(), *BeganCmd, Pid); | |||
} | |||
|
|||
void | |||
dependencyLoadFailed(StringRef DependenciesFile, bool Warn=true) { | |||
if (Warn) |
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.
I'm on the fence about this. On the one hand, we might get more feedback from users, but on the other they may end up with a warning they can't silence. (Neither Xcode nor SwiftPM expose a switch to turn off incremental builds.)
lib/Driver/Compilation.cpp
Outdated
} | ||
DeferredCommands.clear(); |
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.
Ooh, good catch.
I'm going to trust you that all the refactoring parts don't change anything; chopping up |
Pushed a couple updates to dial back the diagnostic chatter. |
50ebd69
to
5c19107
Compare
5c19107
to
1c3a54b
Compare
@swift-ci please test and merge |
@swift-ci please smoke test and merge |
@swift-ci please smoke test |
Some generic refactoring and tidying in the driver, mostly splitting
Compilation::performJobsImpl
into enough pieces (and turning various lambdas and locals into named and commented methods
and members) that I can follow what it's doing. This is prep work for more involved debugging of
driver issues; I realized I couldn't really understand the structure of
performJobsImpl
before.Along the way, fixed a few minor, mostly-logging issues:
rdar://30792302