[PATCH] D46567: [llvm-strip] Add support for -remove-section

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 14:22:10 PDT 2018


alexshap added inline comments.


================
Comment at: test/tools/llvm-objcopy/remove-section.test:2
 # RUN: yaml2obj %s > %t
+# RUN: cp %t %t1
 # RUN: llvm-objcopy -R .test2 %t %t2
----------------
jakehehrlich wrote:
> nit: I'd prefer not to copy in this case
i copied because potentially llvm-objcopy can modify the input (i.e. by mistake),
it's not the case here, but my motivation was to reduce the room for potential interfering of different runs.


Repository:
  rL LLVM

https://reviews.llvm.org/D46567





More information about the llvm-commits mailing list