commit | cf230cb30a1cf5e1d99aa1e0d0298e702b501c3e | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Mon Jan 09 21:52:35 2017 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Mon Jan 09 21:52:35 2017 +0000 |
tree | 0f4c06b7769edf3466428230ba703fb9f5f7db6e | |
parent | 33887e39056499591e29eb62e7908b990ef1ca45 [diff] |
Support outputting to /dev/null. When writing to a non regular file we cannot rename to it. Since we have to write, we may as well create a temporary file to avoid trying to create an unique file in /dev when trying to write to /dev/null. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291485 91177308-0d34-0410-b5e6-96231b3b80d8