[PATCH] D56806: [llvm-objcopy] Fix crash when writing empty binary output

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 24 11:56:03 PST 2019


rupprecht updated this revision to Diff 183364.
rupprecht added a comment.

- Make sure a new file is created instead of truncating an inode in place


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56806/new/

https://reviews.llvm.org/D56806

Files:
  llvm/test/tools/llvm-objcopy/ELF/binary-output-empty.test
  llvm/tools/llvm-objcopy/Buffer.cpp
  llvm/tools/llvm-objcopy/Buffer.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56806.183364.patch
Type: text/x-patch
Size: 3594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190124/c25431ab/attachment.bin>


More information about the llvm-commits mailing list