diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-05-05 16:36:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-05-05 16:36:24 +0000 |
commit | 92bb514612a7d66a0695b257a3d8f0b9cebcf9d7 (patch) | |
tree | 2af77e8f2f55e2a76ac13377933c1431f70c6a6a /lib/Support/Process.cpp | |
parent | 9c69e6ae698f44703725eec8ff27630b6b81f0e3 (diff) |
[Support] Rewrite sys::fs::unique_file to not be stupid with /dev/urandom.
- Just use sys::Process::GetRandomNumber instead of having two poor
implementations.
- This is ~70 times (!) faster on my OS X machine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Process.cpp')
0 files changed, 0 insertions, 0 deletions