hunkgen: satisfy the clang 22 ComplierInstance VFS invariant.

This commit is contained in:
sunshineinabox committed 2026-08-04 23:37:11 -07:00
1 parent e869aa644a
commit 167d79f0fa
1 file changed
+3
+3
View File
@@ -812,6 +812,9 @@ bool GenerateThunkLibsActionFactory::runInvocation(std::shared_ptr<clang::Compil
#else
clang::CompilerInstance Compiler(std::move(PCHContainerOps));
Compiler.setInvocation(std::move(Invocation));
#endif
#if LLVM_VERSION_MAJOR >= 22
Compiler.setVirtualFileSystem(Files->getVirtualFileSystemPtr());
#endif
Compiler.setFileManager(Files);