| commit | dc24572a44575e07a5d8bb6de52641a69f1bab27 | [log] [tgz] |
|---|---|---|
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Sep 17 17:38:48 2010 +0000 |
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Sep 17 17:38:48 2010 +0000 |
| tree | 621e35daa5260e40b3c8c928e31090959ca96040 | |
| 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