[all-commits] [llvm/llvm-project] 090066: [clang] Enable making `CompilerInstance` VFS threa...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Mon Apr 21 11:09:44 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 09006611151c7f85862a9da8da34872c456c2c37
https://github.com/llvm/llvm-project/commit/09006611151c7f85862a9da8da34872c456c2c37
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2025-04-21 (Mon, 21 Apr 2025)
Changed paths:
M clang/include/clang/Frontend/CompilerInstance.h
M clang/lib/Frontend/CompilerInstance.cpp
Log Message:
-----------
[clang] Enable making `CompilerInstance` VFS thread-safe (#135737)
The `llvm::vfs::FileSystem` interface makes no promises around
thread-safety. To enable making `CompilerInstance` thread-safe, this PR
allows passing an explicit VFS to `cloneForModuleCompile()`. This will
be used from the dependency scanner.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list