[all-commits] [llvm/llvm-project] a6637a: [clang][deps] Share `FileManager` between modules ...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Wed Nov 6 14:21:23 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a6637ae2cc9a0e7c9a37603b3d277d7ca642bc36
https://github.com/llvm/llvm-project/commit/a6637ae2cc9a0e7c9a37603b3d277d7ca642bc36
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2024-11-06 (Wed, 06 Nov 2024)
Changed paths:
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
Log Message:
-----------
[clang][deps] Share `FileManager` between modules (#115065)
The `FileManager` sharing between module-building `CompilerInstance`s
was disabled a while ago due to `FileEntry::getName()` being unreliable.
Now that we use `FileEntryRef::getNameAsRequested()` in places where it
matters, re-enabling `FileManager` is sound and improves performance of
`clang-scan-deps` by ~6.2%.
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