Fix a race condition in the lock-file manager: once the lock file is
authorDouglas Gregor <dgregor@apple.com>
Thu, 10 Jan 2013 02:01:35 +0000 (02:01 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 10 Jan 2013 02:01:35 +0000 (02:01 +0000)
commit69a2d6f55afb2bc42bc19e754bcebee39ecdb8bc
treeace95ba106babbaeab016c25c56d42a5c0292d4d
parent06c7008e30d3e278f2d779135ff2ce50bfc643fc
Fix a race condition in the lock-file manager: once the lock file is
gone, check for the actual file we care about.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172033 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/LockFileManager.h
lib/Support/LockFileManager.cpp