[all-commits] [llvm/llvm-project] d648aa: [BOLT][TEST] Use double dash flags in tests

maksfb via All-commits all-commits at lists.llvm.org
Fri Jun 10 16:29:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d648aa1b8e937de1648524e1f1016b53b29ba2a4
      https://github.com/llvm/llvm-project/commit/d648aa1b8e937de1648524e1f1016b53b29ba2a4
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2022-06-10 (Fri, 10 Jun 2022)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list