diff options
author | Argyrios Kyrtzidis <kyrtzidis@apple.com> | 2023-06-23 15:33:39 -0700 |
---|---|---|
committer | Argyrios Kyrtzidis <kyrtzidis@apple.com> | 2023-06-26 10:18:02 -0700 |
commit | 03a0f4b61ca50a267a405a29ff1986473a55f9d9 (patch) | |
tree | 0d17d72b891d8d5cdd4a7e4f7d733b39b9c5d3af /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 1a0d23efe1573e1d5d547c80939ec2bdb7e2524a (diff) | |
download | llvm-03a0f4b61ca50a267a405a29ff1986473a55f9d9.zip llvm-03a0f4b61ca50a267a405a29ff1986473a55f9d9.tar.gz llvm-03a0f4b61ca50a267a405a29ff1986473a55f9d9.tar.bz2 |
[clang/HeaderSearch] Make sure `loadSubdirectoryModuleMaps` doesn't cause loading of regular files
`HeaderSearch::loadSubdirectoryModuleMaps` `stat`s all the files in a directory which causes the dependency scanning
service to load and cache their contents. This is problematic because a file may be in the process of being generated
and could be cached by the dep-scan service while it is still incomplete.
To address this change `loadSubdirectoryModuleMaps` to ignore regular files.
Differential Revision: https://reviews.llvm.org/D153670
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions