1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/tools/llvm-objdump
Fangrui Song a67a0f1131 [llvm-objdump][test] Reorganize ELF --syms tests
Merge symbol-table-elf.test and common-symbol-elf.test, and add some
more tests (invalid st_type, STT_COMMON, STT_GNU_IFUNC, STT_HIOS, STT_LOPROC, SHN_UNDEF, SHN_ABS, SHN_COMMON, STB_GNU_UNIQUE, invalid binding, etc) to test/llvm-objdump/ELF/symbol-table.test

The naming follows test/llvm-{readobj,objcopy}/ELF .

Some discrepancy from GNU objdump:

* STT_COMMON: can be produced with `ld.bfd -r -z common`, but it almost never exists in practice
* STT_GNU_IFUNC: will be fixed by D75793
* STB_GNU_UNIQUE: will be fixed by D75797
* STT_TLS: GNU objdump does not print 'O'
* unknown binding: GNU objdump does not print 'g'. This probably does not matter.
* A reserved symbol index is displayed as *ABS* in GNU objdump. It is not clear what we should print.

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D75796
2020-03-13 08:00:59 -07:00
..
AArch64 [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
AMDGPU [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
ARM [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
COFF [llvm-objdump][test] Move binary format specific tests under COFF/ ELF/ MachO/ XCOFF/ wasm/ 2020-03-09 08:04:48 -07:00
ELF [llvm-objdump][test] Reorganize ELF --syms tests 2020-03-13 08:00:59 -07:00
Hexagon [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
Inputs [llvm-objdump][test] Reorganize ELF --syms tests 2020-03-13 08:00:59 -07:00
MachO [llvm-objdump][test] Move binary format specific tests under COFF/ ELF/ MachO/ XCOFF/ wasm/ 2020-03-09 08:04:48 -07:00
Mips [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
PowerPC [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
wasm [llvm-objdump][test] Move binary format specific tests under COFF/ ELF/ MachO/ XCOFF/ wasm/ 2020-03-09 08:04:48 -07:00
X86 [llvm-objdump] Rename --disassemble-functions to --disassemble-symbols 2020-03-09 08:25:45 -07:00
XCOFF [llvm-objdump][test] Move binary format specific tests under COFF/ ELF/ MachO/ XCOFF/ wasm/ 2020-03-09 08:04:48 -07:00
all-headers.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
archive-headers.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
eh_frame_zero_cie.test [DebugInfo] Fix dumping CIE ID in .eh_frame sections. 2020-02-13 15:42:14 +07:00
eh_frame-mipsel.test [DebugInfo] Fix printing CIE offsets in EH FDEs. 2020-02-25 17:10:29 +07:00
embedded-source.test [llvm-objdump] -d: print 00000000 <foo>: instead of 00000000 foo: 2020-03-05 18:05:28 -08:00
file-headers-pe.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
full-contents.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
help.test [binutils] Add response file option to help and docs 2019-06-21 11:49:20 +00:00
invalid-input.test
lit.local.cfg Add lit.local.cfg to llvm-objdump tests 2019-07-09 17:47:14 +00:00
malformed-archives.test [llvm-objdump] - Remove one of report_error functions and improve the error reporting. 2019-08-20 13:19:16 +00:00
non-archive-object.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
openbsd-headers.test [test] - Remove precomiled openbsd-phdrs.elf-x86-64 objects. 2019-08-17 14:23:30 +00:00
option-grouping.test
private-headers-dynamic-section.test
private-headers-no-dynamic-segment.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
private-headers-no-dynamic.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
relocation-xindex-symbol.test [llvm-objdump] Add column headers for relocation printing 2020-02-12 10:57:15 +00:00
relocations-in-nonreloc.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
section-filter.test [llvm-objdump] - Remove an outdated "FIXME". NFC. 2019-08-22 09:10:17 +00:00
section-headers.test [yaml2obj][test] Simplify some e_machine EI_CLASS EI_DATA tests 2020-02-07 09:35:26 -08:00
verneed-wrong-info.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
warn-missing-section.test [llvm-objdump] Warn if no user specified sections (-j) are not found. 2019-07-02 18:38:17 +00:00
warn-on-out-of-range-start-stop-address.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00