DependenciesScanner: avoid reporting output file path because build system should specify it

This commit is contained in:
Xi Ge
2020-06-01 12:37:18 -07:00
parent 3a214d99f6
commit 1ae70a5b26
4 changed files with 11 additions and 63 deletions

View File

@@ -1368,10 +1368,6 @@ bool InterfaceSubContextDelegateImpl::runInSubCompilerInstance(StringRef moduleN
subInvocation.getFrontendOptions().InputsAndOutputs
.setMainAndSupplementaryOutputs(outputFiles, ModuleOutputPaths);
// Add -o for building the module explicitly.
BuildArgs.push_back("-o");
BuildArgs.push_back(outputPath);
SmallVector<const char *, 64> SubArgs;
std::string CompilerVersion;
// Extract compiler arguments from the interface file and use them to configure