| commit | 08a2bfd230cfc8049b6015c7ca2a3cc7d2fadb2f | [log] [tgz] |
|---|---|---|
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Jul 28 00:45:10 2011 +0000 |
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Jul 28 00:45:10 2011 +0000 |
| tree | 283e9aa2b4ae63f090f71cd664d7af9daa212b64 | |
| parent | b7098a38b39758316d78c1a16f57227c5d2064ac [diff] |
Cut down the number of open/close system calls for output files. For PCH files, have only one open/close for temporary + rename to be safe from race conditions. For all other output files open/close the output file directly. Depends on llvm r136310. rdar://9082880 & http://llvm.org/PR9374. llvm-svn: 136315