[all-commits] [llvm/llvm-project] b00de4: [clang][deps] Abolish FileManager sharing
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Tue Oct 4 12:47:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b00de4dd4156874fd5c163e9cecd69a54e45e083
https://github.com/llvm/llvm-project/commit/b00de4dd4156874fd5c163e9cecd69a54e45e083
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h
M clang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
M clang/lib/Tooling/DependencyScanning/DependencyScanningService.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/test/ClangScanDeps/modulemap-via-vfs.m
M clang/test/ClangScanDeps/subframework_header_dir_symlink.m
M clang/test/ClangScanDeps/symlink.cpp
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
Log Message:
-----------
[clang][deps] Abolish FileManager sharing
This patch removes the ability of a dependency scanning worker to share a `FileManager` instance between individual scans. It's not sound and doesn't provide performance benefits (due to the underlying caching VFS).
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D134976
Commit: fb137adc9b3fa47989fac5cb8a346f0a3a2733bd
https://github.com/llvm/llvm-project/commit/fb137adc9b3fa47989fac5cb8a346f0a3a2733bd
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
Log Message:
-----------
[clang][deps] NFC: Respect working directory on construction
This patch provides `FileManager` with the CWD on construction in the worker, rather than later in the action.
Depends on D134976.
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D134977
Compare: https://github.com/llvm/llvm-project/compare/e212a4f838f1...fb137adc9b3f
More information about the All-commits
mailing list