[PATCH] D102665: [llvm-objcopy] Add support for '--' for delimiting options from input/output files

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 07:00:55 PDT 2021


hubert.reinterpretcast added inline comments.


================
Comment at: llvm/test/tools/llvm-objcopy/dash-dash.test:9
+# RUN: llvm-objcopy --only-section=.test test-obj out-obj1
+# RUN: cmp out-obj1 -- --only-section
+
----------------
hubert.reinterpretcast wrote:
> This is causing a bot failure:
> https://lab.llvm.org/staging/#/builders/126/builds/421/steps/5/logs/FAIL__LLVM__dash-dash_test
> 
> If you have some `cmp` that requires the `--`, I have found that using `env POSIXLY_CORRECT=1 cmp` would help.
Or using `cmp -- out-obj1 --only-section` would work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102665



More information about the llvm-commits mailing list