Add -enable-experimental-dependencies and push it through.

This commit is contained in:
David Ungar
2018-10-26 11:07:03 -07:00
parent 4710c43b01
commit 1f4dfce598
13 changed files with 80 additions and 23 deletions

View File

@@ -920,7 +920,9 @@ Driver::buildCompilation(const ToolChain &TC,
ArgList->hasArg(options::OPT_driver_time_compilation);
std::unique_ptr<UnifiedStatsReporter> StatsReporter =
createStatsReporter(ArgList.get(), Inputs, OI, DefaultTargetTriple);
const bool EnableExperimentalDependencies =
ArgList->hasArg(options::OPT_enable_experimental_dependencies);
C = llvm::make_unique<Compilation>(
Diags, TC, OI, Level,
std::move(ArgList),
@@ -939,7 +941,8 @@ Driver::buildCompilation(const ToolChain &TC,
DriverBatchSizeLimit,
SaveTemps,
ShowDriverTimeCompilation,
std::move(StatsReporter));
std::move(StatsReporter),
EnableExperimentalDependencies);
}
// Construct the graph of Actions.