diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-10-05 14:53:30 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-10-05 14:53:30 +0000 |
commit | 2bc750700487163e31e4f67cd0e0886868209e3c (patch) | |
tree | 1e4ac0e5bc395b446dcc8e61efd4fa20b09d267c /lib/StaticAnalyzer/Core/CheckerManager.cpp | |
parent | 7cc58b4c927fca539d43eaa58e00dca95946eb7c (diff) |
Introduce a simple file-based locking protocol for on-demand module
creation, so that only a single Clang instance will rebuild a given
module at once (and the others will wait).
We still don't clean up the lock files when we crash, which is a
rather unfortunate problem. I'll handle that next, and there is
certainly a *lot* of room for further improvements.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141179 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/CheckerManager.cpp')
0 files changed, 0 insertions, 0 deletions