[PATCH] D62718: [llvm-objcopy] Change output file permissions to be the same as the input file

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 31 15:06:41 PDT 2019


jakehehrlich added inline comments.


================
Comment at: llvm/test/tools/llvm-objcopy/ELF/same-permissions.test:2
+# RUN: llvm-objcopy %p/Inputs/alloc-symtab.o %t
+# RUN: stat --printf=%a %p/Inputs/alloc-symtab.o > %t1
+# RUN: stat --printf=%a %t > %t2
----------------
Actually does stat work like this on windows? Try and confirm before landing so that you don't have to revert.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62718





More information about the llvm-commits mailing list