[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
Sun Jun 2 11:25:24 PDT 2019
abrachet added a comment.
After looking at it more closely, file_status default constructor will set permissions to unknown permissions. So I will need to change how I deal with stdin input. It seems to me that we have two choices, either just give default permissions when reading from stdin, or get the file's type to see if it is executable or not.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the llvm-commits