We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 171e0e2 + 38b1da3 commit d70f35dCopy full SHA for d70f35d
lib/Driver/FineGrainedDependencyDriverGraph.cpp
@@ -752,6 +752,11 @@ StringRef ModuleDepGraph::getProvidingFilename(
752
const Optional<std::string> swiftDeps) const {
753
if (!swiftDeps)
754
return "<unknown";
755
+ auto ext = llvm::sys::path::extension(*swiftDeps);
756
+ if (file_types::lookupTypeForExtension(ext) ==
757
+ file_types::TY_SwiftModuleFile) {
758
+ return *swiftDeps;
759
+ }
760
const StringRef inputName =
761
llvm::sys::path::filename(getJob(swiftDeps)->getFirstSwiftPrimaryInput());
762
// FineGrainedDependencyGraphTests work with simulated jobs with empty
0 commit comments