[PATCH] D56513: [llvm-objcopy][NFC] Consistenly use two dashes for flags in tests.

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 9 13:27:36 PST 2019


rupprecht created this revision.
rupprecht added a reviewer: jhenderson.
Herald added subscribers: llvm-commits, jakehehrlich, fedor.sergeev, arichardson, javed.absar, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.

As pointed out in D53667 <https://reviews.llvm.org/D53667>, our use of hyphens in flags can be inconsistent, mixing `-` with `--`. This change makes all long style flags use `--`.

Automatically changed via:

  find test/tools/llvm-objcopy/ELF -type f | xargs sed -i 's/ -\([a-zA-Z]\{3\}\)/ --\1/g'

Two false positives were manually fixed/reverted.


Repository:
  rL LLVM

https://reviews.llvm.org/D56513

Files:
  test/tools/llvm-objcopy/ELF/abs-symbol.test
  test/tools/llvm-objcopy/ELF/add-gnu-debuglink.test
  test/tools/llvm-objcopy/ELF/add-section-remove.test
  test/tools/llvm-objcopy/ELF/add-section.test
  test/tools/llvm-objcopy/ELF/armexidx-link.test
  test/tools/llvm-objcopy/ELF/auto-remove-shndx.test
  test/tools/llvm-objcopy/ELF/basic-archive-copy.test
  test/tools/llvm-objcopy/ELF/basic-copy.test
  test/tools/llvm-objcopy/ELF/basic-keep.test
  test/tools/llvm-objcopy/ELF/basic-only-section.test
  test/tools/llvm-objcopy/ELF/basic-relocations.test
  test/tools/llvm-objcopy/ELF/binary-input-arch.test
  test/tools/llvm-objcopy/ELF/binary-input.test
  test/tools/llvm-objcopy/ELF/binary-remove-all-but-one.test
  test/tools/llvm-objcopy/ELF/binary-remove-end.test
  test/tools/llvm-objcopy/ELF/binary-remove-middle.test
  test/tools/llvm-objcopy/ELF/check-addr-offset-align.test
  test/tools/llvm-objcopy/ELF/common-symbol.test
  test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test
  test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
  test/tools/llvm-objcopy/ELF/compress-debug-sections.test
  test/tools/llvm-objcopy/ELF/copy-osabi.test
  test/tools/llvm-objcopy/ELF/discard-all.test
  test/tools/llvm-objcopy/ELF/drawf-fission.test
  test/tools/llvm-objcopy/ELF/dump-section.test
  test/tools/llvm-objcopy/ELF/dynamic-relocations.test
  test/tools/llvm-objcopy/ELF/dynamic.test
  test/tools/llvm-objcopy/ELF/dynstr.test
  test/tools/llvm-objcopy/ELF/dynsym.test
  test/tools/llvm-objcopy/ELF/elf32be.test
  test/tools/llvm-objcopy/ELF/elf32le.test
  test/tools/llvm-objcopy/ELF/elf64be.test
  test/tools/llvm-objcopy/ELF/empty-section.test
  test/tools/llvm-objcopy/ELF/explicit-keep-remove.test
  test/tools/llvm-objcopy/ELF/explicit-only-section-remove.test
  test/tools/llvm-objcopy/ELF/globalize.test
  test/tools/llvm-objcopy/ELF/group-big-endian.test
  test/tools/llvm-objcopy/ELF/group-unchanged.test
  test/tools/llvm-objcopy/ELF/group.test
  test/tools/llvm-objcopy/ELF/help-message.test
  test/tools/llvm-objcopy/ELF/keep-file-symbols.test
  test/tools/llvm-objcopy/ELF/keep-global-symbols-mix-globalize.test
  test/tools/llvm-objcopy/ELF/keep-global-symbols.test
  test/tools/llvm-objcopy/ELF/keep-many.test
  test/tools/llvm-objcopy/ELF/keep-only-section.test
  test/tools/llvm-objcopy/ELF/keep-symbol-remove-section.test
  test/tools/llvm-objcopy/ELF/keep-symbol.test
  test/tools/llvm-objcopy/ELF/localize-hidden.test
  test/tools/llvm-objcopy/ELF/localize.test
  test/tools/llvm-objcopy/ELF/many-sections.test
  test/tools/llvm-objcopy/ELF/marker-segment.test
  test/tools/llvm-objcopy/ELF/no-symbol-relocation.test
  test/tools/llvm-objcopy/ELF/null-symbol.test
  test/tools/llvm-objcopy/ELF/objcopy-version.test
  test/tools/llvm-objcopy/ELF/only-section-many.test
  test/tools/llvm-objcopy/ELF/only-section-remove-strtab.test
  test/tools/llvm-objcopy/ELF/only-section-strip-non-alloc.test
  test/tools/llvm-objcopy/ELF/overlap-chain.test
  test/tools/llvm-objcopy/ELF/prefix-symbols.test
  test/tools/llvm-objcopy/ELF/program-headers.test
  test/tools/llvm-objcopy/ELF/pt-phdr.test
  test/tools/llvm-objcopy/ELF/redefine-symbol.test
  test/tools/llvm-objcopy/ELF/reloc-no-symtab.test
  test/tools/llvm-objcopy/ELF/relocatable-phdr.test
  test/tools/llvm-objcopy/ELF/remove-multiple-sections.test
  test/tools/llvm-objcopy/ELF/remove-section-with-symbol.test
  test/tools/llvm-objcopy/ELF/remove-section.test
  test/tools/llvm-objcopy/ELF/remove-shndx.test
  test/tools/llvm-objcopy/ELF/remove-symtab.test
  test/tools/llvm-objcopy/ELF/rename-section-flag-osproc-mask.test
  test/tools/llvm-objcopy/ELF/rename-section-flag-preserved.test
  test/tools/llvm-objcopy/ELF/rename-section-flag.test
  test/tools/llvm-objcopy/ELF/rename-section-multiple.test
  test/tools/llvm-objcopy/ELF/rename-section.test
  test/tools/llvm-objcopy/ELF/segment-shift-section-remove.test
  test/tools/llvm-objcopy/ELF/segment-shift.test
  test/tools/llvm-objcopy/ELF/segment-test-remove-section.test
  test/tools/llvm-objcopy/ELF/strict-no-add.test
  test/tools/llvm-objcopy/ELF/strip-all-and-keep-symbol.test
  test/tools/llvm-objcopy/ELF/strip-all-and-remove.test
  test/tools/llvm-objcopy/ELF/strip-all-gnu.test
  test/tools/llvm-objcopy/ELF/strip-all.test
  test/tools/llvm-objcopy/ELF/strip-debug-and-remove.test
  test/tools/llvm-objcopy/ELF/strip-debug.test
  test/tools/llvm-objcopy/ELF/strip-dwo-groups.test
  test/tools/llvm-objcopy/ELF/strip-dwo-inplace.test
  test/tools/llvm-objcopy/ELF/strip-multiple-files.test
  test/tools/llvm-objcopy/ELF/strip-non-alloc.test
  test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
  test/tools/llvm-objcopy/ELF/strip-preserve-mtime.test
  test/tools/llvm-objcopy/ELF/strip-sections-keep.test
  test/tools/llvm-objcopy/ELF/strip-sections-only-section.test
  test/tools/llvm-objcopy/ELF/strip-sections.test
  test/tools/llvm-objcopy/ELF/strip-symbol.test
  test/tools/llvm-objcopy/ELF/strip-unneeded.test
  test/tools/llvm-objcopy/ELF/strip-version.test
  test/tools/llvm-objcopy/ELF/symbol-copy.test
  test/tools/llvm-objcopy/ELF/symtab-link.test
  test/tools/llvm-objcopy/ELF/two-seg-remove-end.test
  test/tools/llvm-objcopy/ELF/two-seg-remove-first.test
  test/tools/llvm-objcopy/ELF/two-seg-remove-third-sec.test
  test/tools/llvm-objcopy/ELF/weaken-all.test
  test/tools/llvm-objcopy/ELF/weaken.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56513.180916.patch
Type: text/x-patch
Size: 70506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190109/6e2da145/attachment.bin>


More information about the llvm-commits mailing list