================ @@ -748,17 +751,21 @@ bool DependencyScanningWorker::computeDependencies( InMemoryFS->setCurrentWorkingDirectory(WorkingDirectory); SmallString<128> FakeInputPath; // TODO: We should retry the creation if the path already exists. - llvm::sys::fs::createUniquePath(ModuleName + "-%%%%%%%%.input", FakeInputPath, + // FIXME: should we create files for multiple modules? I think so? + llvm::sys::fs::createUniquePath(ModuleNames[0] + "-%%%%%%%%.input", ---------------- qiongsiwu wrote:
What is the reason that we still need to create this file in memory? Should I create a "fake" file for each module in the list? https://github.com/llvm/llvm-project/pull/129915 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits