[Support/LockFileManager] Use symbolic link for the lock file.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 6 Mar 2014 17:37:04 +0000 (17:37 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 6 Mar 2014 17:37:04 +0000 (17:37 +0000)
commit7b95c0d529c9160b6678a14e2f8885d1cf08cd4f
tree739e3fccd91772d8661fc6a570a93feaed78e1cb
parentbd3f9c0b6b32e5270523a09c0766d31bb9c9721d
[Support/LockFileManager] Use symbolic link for the lock file.

Hard links do not work on SMB network directories, and it causes us to fail
to build clang module files if the module cache is in such a directory.
rdar://15944959

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