Rafael Espindola 3816c53f04 Use posix_fallocate instead of ftruncate.
This makes sure that space is actually available. With this change
running lld on a full file system causes it to exit with

failed to open foo: No space left on device

instead of crashing with a sigbus.

llvm-svn: 276017
2016-07-19 20:19:56 +00:00
..
2016-07-19 17:50:27 +00:00
2016-07-04 08:01:29 +00:00
2016-01-26 21:29:08 +00:00
2016-03-01 21:29:33 +00:00