llvm-project/llvm/test/tools/llvm-objdump/X86
Nico Weber 1035123ac5 [llvm-objdump] Switch command-line parsing from llvm::cl to OptTable
This is similar to D83530, but for llvm-objdump.

The motivation is the desire to add an `llvm-otool` symlink to
llvm-objdump that behaves like macOS's `otool`, using the same
technique the at llvm-objcopy uses to behave like `strip` (etc).

This change for the most part preserves behavior. In some cases,
it increases compatibility with GNU objdump a bit. For example,
the long options now require two dashes, and the long options
taking arguments for the most part now require a `=` in front
of the value. Exceptions are flags where tests passed the
value separately, for these the separate form is kept as
an alias to the = form.

The one-letter short form args are now joined or separate
and long longer accept a =, which also matches GNU objdump.

cl::opt<>s in libraries now have to be explicitly plumbed
through. This patch does that for --x86-asm-syntax=, but
there's hope that we can remove that again.

Differential Revision: https://reviews.llvm.org/D100433
2021-04-14 20:12:24 -04:00
..
Inputs
adjust-vma.test
coff-dis-internal.test
coff-disassemble-export.test
debug-info-fileinfo.test
demangle.s
disassemble-align.s
disassemble-archive-with-source.ll
disassemble-code-data-mix.s
disassemble-data.test
disassemble-demangle.test
disassemble-functions-mangling.test
disassemble-functions.test
disassemble-gdtls.s [X86] Fix disassembly of x86-64 GDTLS code sequence 2021-02-02 11:35:00 +00:00
disassemble-implied-by-disassemble-functions.test
disassemble-invalid-byte-sequences.test
disassemble-long-instructions.test
disassemble-no-symbol-at-section-start.test
disassemble-same-section-addr.test
disassemble-section-name.s
disassemble-show-raw.test
disassemble-text.test
disassemble-zeroes-relocations.test
elf-disassemble-bss.test
elf-disassemble-dynamic-symbols.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
elf-disassemble-no-symtab.test
elf-disassemble-relocs.test
elf-disassemble-symbol-labels-exec.test
elf-disassemble-symbol-labels-rel.test
elf-disassemble-symbol-references.yaml
elf-disassemble-symbololize-operands.yaml
elf-disassemble.test
elf-dynamic-relocs.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
elf-dynamic-symbols.test
function-sections-line-numbers.s
invalid-macho-build-version.yaml
lit.local.cfg
out-of-section-sym.test
output-ordering.test
phdrs-lma.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
phdrs-lma2.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
phdrs.test
plt.test
print-symbol-addr.s
section-filter-disasm.test
section-filter-relocs.test
section-index.s
source-interleave-function-from-debug.test
source-interleave-invalid-source.test
source-interleave-missing-source.test
source-interleave-no-debug-info.test [llvm-objdump] --source: drop the warning when there is no debug info 2021-02-04 09:07:44 -08:00
source-interleave-prefix-non-windows.test [llvm-objdump][test] Fix --prefix tests for system-windows 2021-02-09 21:54:51 +00:00
source-interleave-prefix-windows.test [llvm-objdump][test] Fix --prefix tests for system-windows 2021-02-09 21:54:51 +00:00
source-interleave-prefix.test [llvm-objdump] Switch command-line parsing from llvm::cl to OptTable 2021-04-14 20:12:24 -04:00
source-interleave-relative-paths.test
source-interleave-same-line-different-file.test
source-interleave-x86_64.test
start-stop-address-relocatable-object.test
start-stop-address.test
warn-missing-disasm-func.test