llvm-project/llvm/test/tools/llvm-objdump/X86
Jordan Rupprecht 60a8a504f1 [llvm-objdump] Print file format in lowercase to match GNU output.
Summary:
GNU objdump prints the file format in lowercase, e.g. `elf64-x86-64`. llvm-objdump prints `ELF64-x86-64` right now, even though piping that into llvm-objcopy refuses that as a valid arch to use.

As an example of a problem this causes, see: https://github.com/ClangBuiltLinux/linux/issues/779

Reviewers: MaskRay, jhenderson, alexshap

Reviewed By: MaskRay

Subscribers: tpimh, sbc100, grimar, jvesely, nhaehnle, kerbowa, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D74433
2020-02-12 08:17:01 -08:00
..
Inputs Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
adjust-vma.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
coff-dis-internal.test
coff-disassemble-export.test
debug-info-fileinfo.test
demangle.s [llvm-objdump] Print relocation addends in hexadecimal 2019-11-19 12:27:18 +00:00
disassemble-align.s [llvm-objdump] Test tabs in disassemble-align.s with a more visible character 2019-04-16 15:58:42 +00:00
disassemble-archive-with-source.ll Migrate function attribute "no-frame-pointer-elim-non-leaf" to "frame-pointer"="non-leaf" as cleanups after D56351 2019-12-24 16:05:15 -08:00
disassemble-code-data-mix.s [llvm-objdump] Remove unnecessary indentation when dumping ELF data. 2019-06-19 18:44:29 +00:00
disassemble-data.test
disassemble-demangle.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
disassemble-functions-mangling.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
disassemble-functions.test [llvm-objdump][test] Make test names consistent 2019-05-23 12:38:06 +00:00
disassemble-implied-by-disassemble-functions.test [NFC] Test commit. 2019-06-07 01:55:59 +00:00
disassemble-invalid-byte-sequences.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
disassemble-long-instructions.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
disassemble-no-symbol-at-section-start.test [llvm-objdump] - Import the test/Object/X86/no-start-symbol.test test case and rewrite it to use YAML. 2019-07-24 12:24:43 +00:00
disassemble-section-name.s [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
disassemble-show-raw.test [llvm-objdump][test] Make test names consistent 2019-05-23 12:38:06 +00:00
disassemble-text.test [llvm-objdump][test] Make test names consistent 2019-05-23 12:38:06 +00:00
disassemble-zeroes-relocations.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
elf-disassemble-bss.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
elf-disassemble-dynamic-symbols.test [llvm-objdump] Match GNU objdump on symbol types shown in disassembly 2019-06-24 17:47:56 +00:00
elf-disassemble-no-symtab.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
elf-disassemble-relocs.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
elf-disassemble-symbol-labels-exec.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
elf-disassemble-symbol-labels-rel.test fix accidental implicit matches in elf-disassemble-symbol-labels-rel.test 2019-05-23 22:28:18 +00:00
elf-disassemble-symbol-references.yaml [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
elf-disassemble.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
elf-dynamic-relocs.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
function-sections-line-numbers.s [llvm] Prevent duplicate files in debug line header in dwarf 5: another attempt 2019-04-19 02:26:56 +00:00
hex-displacement.test
invalid-macho-build-version.yaml
lit.local.cfg
macho-archive-headers.test
macho-build-version.yaml Add lit.local.cfg to llvm-objdump tests 2019-07-09 17:47:14 +00:00
macho-cstring-dump.test Omit "Contents of" headers when -no-leading-headers is specified. 2020-02-03 13:33:50 -08:00
macho-data-in-code.ll Move macho-data-in-code.ll to X86/macho-data-in-code.ll (to only run when x86 is a valid target). 2019-08-01 16:52:45 +00:00
macho-dis-no-leading-addr.test
macho-dis-symname.test
macho-disassemble-all.test llvm-objdump -m -D should disassemble all text segments 2019-01-15 20:41:30 +00:00
macho-disassemble-g-dsym.test [llvm] [test] Remove non-portable EISDIR test from macho-disassemble-g-dsym.test 2019-06-03 14:50:03 +00:00
macho-disassemble-kextbundle.test [llvm-objdump][test] Make MachO test names consistent 2019-05-23 12:43:08 +00:00
macho-disassemble-stab.test objdump fails to parse Mach-O binaries with n_desc bearing stabs 2019-02-23 06:19:56 +00:00
macho-disassemble-stripped.test [llvm-objdump][test] Make MachO test names consistent 2019-05-23 12:43:08 +00:00
macho-dylib.test Print dylib load kind (weak, reexport, etc) in llvm-objdump -m -dylibs-used 2019-06-18 22:20:10 +00:00
macho-image-info.test
macho-indirect-symbols.test
macho-info-plist-nofollow.test
macho-info-plist.test
macho-literal-pointers-i386.test
macho-literal-pointers-x86_64.test
macho-literals.test
macho-maccatalyst-build-version.yaml [macCatalyst] Print out macCatalyst in llvm-objdump for the platform 2019-07-03 17:46:30 +00:00
macho-nofirst-symbol-disassembly.test
macho-nontext-disasm.test
macho-objc-meta-data.test
macho-preload-relocations.test
macho-print-thread.test
macho-private-header.test [llvm-objdump] Simplify PrintHelpMessage() logic 2019-04-16 02:37:29 +00:00
macho-private-headers.test
macho-relocations.test
macho-section-contents.test
macho-section-headers.test [llvm-objdump] - Print LMAs when dumping section headers. 2019-01-28 14:11:35 +00:00
macho-section.test
macho-stub-nosyms-disassembly.test
macho-symbol-table.test
macho-symbolized-disassembly.test
macho-symbolized-subtractor-i386.test
macho-symbolized-subtractor.test
macho-universal-x86_64.i386.test
macho-unwind-info.test
malformed-machos.test Detect malformed LC_LINKER_COMMANDs in Mach-O binaries 2019-03-11 18:29:25 +00:00
out-of-section-sym.test [llvm-objdump] Further rearrange llvm-objdump sections for compatability 2019-10-03 22:01:08 +00:00
output-ordering.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
phdrs-lma.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
phdrs-lma2.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
phdrs.test
plt.test
print-symbol-addr.s [llvm-objdump] Use %08 instead of %016 to print leading addresses for 32-bit binaries 2019-06-17 09:59:55 +00:00
section-filter-disasm.test [llvm-objdump] - Disassemble non-executable sections if specifically requested. 2019-06-05 11:37:53 +00:00
section-filter-relocs.test [llvm-objdump] Print relocation addends in hexadecimal 2019-11-19 12:27:18 +00:00
section-index.s
source-interleave-invalid-source.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
source-interleave-missing-source.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
source-interleave-no-debug-info.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
source-interleave-relative-paths.test [llvm-objdump][test] Fix for spurious matches against file paths 2019-05-24 10:07:24 +00:00
source-interleave-same-line-different-file.test [NFC] Delete trailing whitespace character. 2019-06-07 06:28:43 +00:00
source-interleave-x86_64.test [llvm-objdump][test] Improve testing of some switches #2 2019-05-23 10:17:10 +00:00
start-stop-address-relocatable-object.test [llvm-objdump][test] Improve testing of some switches #3 2019-05-23 12:30:39 +00:00
start-stop-address.test [llvm-objdump] - Cleanup the error reporting. 2019-08-21 11:07:31 +00:00
stubbed-dylib.test
truncated-section.test
warn-missing-disasm-func.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00