Merge pull request #33032 from artemcm/ExplicitPackageBuilds

[Dependency Scanner] Add a scanner for explicit placeholder module dependencies
This commit is contained in:
Artem Chikin
2020-07-28 14:36:26 -07:00
committed by GitHub
15 changed files with 540 additions and 152 deletions

View File

@@ -909,6 +909,8 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts,
for (auto A: Args.filtered(OPT_candidate_module_file)) {
Opts.CandidateCompiledModules.push_back(resolveSearchPath(A->getValue()));
}
if (const Arg *A = Args.getLastArg(OPT_placeholder_dependency_module_map))
Opts.PlaceholderDependencyModuleMap = A->getValue();
// Opts.RuntimeIncludePath is set by calls to
// setRuntimeIncludePath() or setMainExecutablePath().