[PATCH] D62718: [llvm-objcopy] Change output file permissions to be the same as the input file
Alex Brachet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 00:03:28 PDT 2019
abrachet updated this revision to Diff 203091.
abrachet added a comment.
Went with @rupprecht suggestion to make output files 0666 if they are not executable and 0777 if they are. Also slightly reorganizes executeObjcopy's handling of --preserve-dates.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62718/new/
https://reviews.llvm.org/D62718
Files:
llvm/test/tools/llvm-objcopy/ELF/execute-permissions.test
llvm/test/tools/llvm-objcopy/ELF/invalid-preserve-dates.test
llvm/test/tools/llvm-objcopy/ELF/respect-umask.test
llvm/tools/llvm-objcopy/Buffer.cpp
llvm/tools/llvm-objcopy/llvm-objcopy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62718.203091.patch
Type: text/x-patch
Size: 6545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190605/e0a78e16/attachment-0001.bin>
More information about the llvm-commits
mailing list