diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-09-17 17:38:48 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-09-17 17:38:48 +0000 |
commit | dc24572a44575e07a5d8bb6de52641a69f1bab27 (patch) | |
tree | 621e35daa5260e40b3c8c928e31090959ca96040 /lib/Driver/ToolChain.cpp | |
parent | a83c6be907b2a6b9ccc979c79b3a24a7e48b2c54 (diff) |
Use a temporary file for output which gets renamed after all the writing is finished.
This mainly prevents failures and/or crashes when multiple processes try to read/write the same PCH file. (rdar://8392711&8294781); suggestion & review by Daniel!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChain.cpp')
0 files changed, 0 insertions, 0 deletions