[clang] [clang][deps] Make the service provide the VFS (PR #181424)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 13 13:43:09 PST 2026
================
@@ -620,10 +620,9 @@ struct AsyncModuleCompile : PPCallbacks {
if (!LockErr && !Owned)
return;
// We should build the PCM.
- // FIXME: Pass the correct BaseFS to the worker FS.
IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
llvm::makeIntrusiveRefCnt<DependencyScanningWorkerFilesystem>(
- Service.getSharedCache(), llvm::vfs::getRealFileSystem());
+ Service.getSharedCache(), Service.getOpts().MakeVFS());
----------------
jansvoboda11 wrote:
This is the FIXME resolution.
https://github.com/llvm/llvm-project/pull/181424
More information about the cfe-commits
mailing list