diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-07-19 20:19:56 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-07-19 20:19:56 +0000 |
commit | 3816c53f040cc6aa06425978dd504b0bd5b7899c (patch) | |
tree | 1de5a1b9eb85436d409e2c3aac6d2d3f45a5641e /lldb/packages/Python/lldbsuite/test/expression_command/macros | |
parent | 2f984cab4fa7b8cf07e87965fb334e9d16e7e296 (diff) | |
download | bcm5719-llvm-3816c53f040cc6aa06425978dd504b0bd5b7899c.tar.gz bcm5719-llvm-3816c53f040cc6aa06425978dd504b0bd5b7899c.zip |
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/macros')
0 files changed, 0 insertions, 0 deletions