[BOLT][TEST] Use double dash flags in tests
authorMaksim Panchenko <maks@fb.com>
Fri, 10 Jun 2022 21:10:58 +0000 (14:10 -0700)
committerMaksim Panchenko <maks@fb.com>
Fri, 10 Jun 2022 23:27:33 +0000 (16:27 -0700)
commitd648aa1b8e937de1648524e1f1016b53b29ba2a4
treeb659e78992ab72f37db28ca01a3fec6716d45231
parent02f4affe2d85ec457c3638971fea3b32be357478
[BOLT][TEST] Use double dash flags in tests

Replace a single dash with a double dash for options that have more
than a single letter.

llvm-bolt-wrapper.py has special treatment for output options such as
"-o" and "-w" causing issues when a single dash is used, e.g. for
"-write-dwp". The wrapper can be fixed as well, but using a double dash
has other advantages as well.

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D127538
145 files changed:
bolt/test/AArch64/asm-func-debug.test
bolt/test/AArch64/constant-island-alignment.s
bolt/test/AArch64/constant_island_pie_update.s
bolt/test/AArch64/double_jump.cpp
bolt/test/AArch64/ext-double-jump.s
bolt/test/AArch64/go_dwarf.test
bolt/test/AArch64/plt-gnu-ld.test
bolt/test/AArch64/runtime-relocs.test
bolt/test/AArch64/skip-got-rel.test
bolt/test/AArch64/tailcall_traps.s
bolt/test/AArch64/text-data.c
bolt/test/AArch64/unmarked-data.test
bolt/test/AArch64/update-debug-reloc.test
bolt/test/R_ABS.pic.lld.cpp
bolt/test/X86/addr32.s
bolt/test/X86/asm-dump.c
bolt/test/X86/asm-func-debug.test
bolt/test/X86/avx512-trap.test
bolt/test/X86/bb-with-two-tail-calls.s
bolt/test/X86/block-reordering.test
bolt/test/X86/branch-data.test
bolt/test/X86/bug-reorder-bb-jrcxz.s
bolt/test/X86/cfi-expr-rewrite.s
bolt/test/X86/cfi-instrs-count.s
bolt/test/X86/cfi-instrs-reordered.s
bolt/test/X86/cmov-conversion.s
bolt/test/X86/ctc-and-unreachable.test
bolt/test/X86/data-to-data-pcrel.s
bolt/test/X86/debug-fission-single.s
bolt/test/X86/double-jump.test
bolt/test/X86/double-rel.s
bolt/test/X86/dwarf-handle-visit-loclist-error.s
bolt/test/X86/dwarf4-ftypes-dwo-input-dwp-output.test
bolt/test/X86/dwarf4-ftypes-dwp-input-dwp-output.test
bolt/test/X86/dwarf5-debug-info-dwarf4-debug-line.s
bolt/test/X86/dwarf5-debug-line.s
bolt/test/X86/dwarf5-debug-loclists.s
bolt/test/X86/dwarf5-label-low-pc.s
bolt/test/X86/dwarf5-locexpr-addrx.s
bolt/test/X86/dwarf5-loclist-offset-form.test
bolt/test/X86/dwarf5-lowpc-highpc-convert.s
bolt/test/X86/dwarf5-rangeoffset-to-rangeindex.s
bolt/test/X86/dwarf5-two-loclists.test
bolt/test/X86/dwarf5-two-rnglists.test
bolt/test/X86/exceptions-args.test
bolt/test/X86/fallthrough-to-noop.test
bolt/test/X86/false-jump-table.s
bolt/test/X86/fptr-addend-pcrel.s
bolt/test/X86/gdbindex.test
bolt/test/X86/gotpcrelx.s
bolt/test/X86/high_pc_udata.s
bolt/test/X86/icf-jump-tables.test
bolt/test/X86/indirect-goto.test
bolt/test/X86/inline-debug-info.test
bolt/test/X86/inlined-function-mixed.test
bolt/test/X86/insert-addr-rnglists_base.s
bolt/test/X86/internal-call-instrument-so.s
bolt/test/X86/internal-call-instrument.s
bolt/test/X86/interprocedural-ref-entry-point.s
bolt/test/X86/issue20.s
bolt/test/X86/issue20.test
bolt/test/X86/issue26.s
bolt/test/X86/issue26.test
bolt/test/X86/jmpjmp.test
bolt/test/X86/jump-table-footprint-reduction.test
bolt/test/X86/jump-table-icp.test
bolt/test/X86/jump-table-pic-order.test
bolt/test/X86/jump-table-reference.test
bolt/test/X86/layout-heuristic.test
bolt/test/X86/line-number.test
bolt/test/X86/loop-inversion-pass.s
bolt/test/X86/loop-nest.test
bolt/test/X86/lto-name-match.s
bolt/test/X86/no-entry-reordering.test
bolt/test/X86/no-output.test
bolt/test/X86/plt-sec-8-byte.test
bolt/test/X86/plt-sec.test
bolt/test/X86/reader.test
bolt/test/X86/relaxed-tailcall.test
bolt/test/X86/remove-unused.test
bolt/test/X86/rodata-simpl-loads.test
bolt/test/X86/sctc-bug.test
bolt/test/X86/sctc-bug2.test
bolt/test/X86/sctc-bug3.test
bolt/test/X86/shared-abbrev.s
bolt/test/X86/shrinkwrapping-and-rsp.s
bolt/test/X86/shrinkwrapping-critedge.s
bolt/test/X86/shrinkwrapping-insertcfi.s
bolt/test/X86/shrinkwrapping-pop-order.s
bolt/test/X86/shrinkwrapping-popf.s
bolt/test/X86/shrinkwrapping.test
bolt/test/X86/split-func-jump-table-fragment-noparent.s
bolt/test/X86/split-func-jump-table-fragment-reverse.s
bolt/test/X86/split-func-jump-table-fragment.s
bolt/test/X86/srol-bug.test
bolt/test/X86/symtab-secondary-entries.test
bolt/test/X86/tail-duplication-cache.s
bolt/test/X86/tail-duplication-cacheline.s
bolt/test/X86/tail-duplication-complex.s
bolt/test/X86/tail-duplication-jt.s
bolt/test/X86/tail-duplication-pass.s
bolt/test/X86/tail-duplication-prop-bug.s
bolt/test/X86/tailcall-traps.test
bolt/test/X86/tailcall.test
bolt/test/X86/vararg.test
bolt/test/X86/zero-sized-object.s
bolt/test/bolt-icf.test
bolt/test/cache+-deprecated.test
bolt/test/invalid-profile.test
bolt/test/keep-aranges.test
bolt/test/no-relocs.test
bolt/test/non-empty-debug-line.test
bolt/test/runtime/AArch64/adrrelaxationpass.s
bolt/test/runtime/AArch64/constant-island-relocations.s
bolt/test/runtime/AArch64/controlflow.s
bolt/test/runtime/AArch64/issue177.s
bolt/test/runtime/X86/basic-instrumentation.test
bolt/test/runtime/X86/exceptions-instrumentation.test
bolt/test/runtime/X86/exceptions-pic.test
bolt/test/runtime/X86/exceptions-run.test
bolt/test/runtime/X86/fdata-escape-chars.ll
bolt/test/runtime/X86/fix-branches-jrcxz.s
bolt/test/runtime/X86/hot-end-symbol.s
bolt/test/runtime/X86/indirect-goto-pie.test
bolt/test/runtime/X86/instrumentation-dup-jts.s
bolt/test/runtime/X86/instrumentation-ind-calls.s
bolt/test/runtime/X86/instrumentation-indirect.c
bolt/test/runtime/X86/instrumentation-pie.c
bolt/test/runtime/X86/instrumentation-shlib.c
bolt/test/runtime/X86/internal-call-instrument.test
bolt/test/runtime/X86/internal-call.test
bolt/test/runtime/X86/interp-overwrite-bug.s
bolt/test/runtime/X86/retpoline-synthetic.test
bolt/test/runtime/X86/section-reloc-with-addend.s
bolt/test/runtime/X86/shrinkwrapping-alignment.s
bolt/test/runtime/X86/shrinkwrapping-lock.s
bolt/test/runtime/X86/shrinkwrapping-pushpop.s
bolt/test/runtime/X86/tail-duplication-constant-prop.s
bolt/test/runtime/X86/three-way-branch-pass.s
bolt/test/runtime/X86/user-func-reorder.c
bolt/test/runtime/fptr.test
bolt/test/runtime/iplt.c
bolt/test/runtime/meta-merge-fdata.test
bolt/test/runtime/plt-gnu-ld.test
bolt/test/runtime/plt-lld.test