Skip to content

Commit 8fba6f4

Browse files
committed
[SYCL-JIT] Configure VFS explicitly after 866879f (#32766)
Fix assert after 866879f Fix rtc similar to clang-tools-extra/clang-include-fixer/IncludeFixer.cpp and clang/lib/Tooling/Tooling.cpp
1 parent 2b065e6 commit 8fba6f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ class SYCLToolchain {
219219
// Create a compiler instance to handle the actual work.
220220
CompilerInstance Compiler(std::move(Invocation),
221221
std::move(PCHContainerOps));
222+
Compiler.setVirtualFileSystem(Files->getVirtualFileSystemPtr());
222223
Compiler.setFileManager(Files);
223224
// Suppress summary with number of warnings and errors being printed to
224225
// stdout.

0 commit comments

Comments
 (0)