aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <kyrtzidis@apple.com>2023-06-23 15:33:39 -0700
committerArgyrios Kyrtzidis <kyrtzidis@apple.com>2023-06-26 10:18:02 -0700
commit03a0f4b61ca50a267a405a29ff1986473a55f9d9 (patch)
tree0d17d72b891d8d5cdd4a7e4f7d733b39b9c5d3af /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent1a0d23efe1573e1d5d547c80939ec2bdb7e2524a (diff)
downloadllvm-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