llvm-project/llvm/test/Object
Georgii Rymar cf6037b561 [llvm-readobj][test] - Cleanup testing of the --sections command line option.
We have the `ELF\sections.test` to test --sections.

`ELF\sections.test` uses precompiled objects, it has a bug (does not test -s alias properly).
Also, we test machine specific section types in `ELF\machine-specific-section-types.test`,
so we probably do not need to test `--sections` for a MIPS object in `ELF\sections.test`.
I think it is enough to test ELF32 and ELF64 (we do not test ELF64 in this test).

`Object/readobj-shared-object.test` also tests how llvm-readobj handles
`--sections`. It is location is wrong, it is not complete, it uses precompiled binaries
and it duplicates the `ELF\sections.test` partially (it tests both ELF32 and ELF64).

We have `ELF\readelf-s-alias.test` that tests the `-s` alias for `--sections` in llvm-readobj
and `-s` as an alias for `--symbols` in llvm-readelf.
There is no need to have a separate test for such things.
The test for the `-s` alias for `--sections` can be included into the `ELF\sections.test`.
And the test for `-s` for llvm-readelf is already included into `ELF\symbols.test`.

So, this patch:
1) Removes `Object/readobj-shared-object.test`.
2) Removes `ELF\readelf-s-alias.test`
3) Rewrites the `ELF\sections.test`.
4) Removes ELF/Inputs/trivial.obj.elf-mipsel.

Differential revision: https://reviews.llvm.org/D73686
2020-01-31 12:58:12 +03:00
..
AArch64 [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
AMDGPU [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
ARM
Inputs [llvm-readobj] - Add a test for --hash-table option. 2020-01-27 12:28:21 +03:00
Lanai [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
Mips [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
RISCV [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
X86 [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
ar-create.test
ar-error.test
archive-darwin-duplicates.test
archive-delete.test
archive-error-tmp.txt
archive-extract-dir.test
archive-extract.test [llvm-ar] Uncapitalize error messages and delete full stop 2019-09-14 01:18:47 +00:00
archive-format.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
archive-long-filenames-no-null-terminator.test
archive-long-index.test
archive-move.test
archive-pad.test
archive-replace-pos.test
archive-symtab.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
archive-thin-create.test [llvm-ar] Implement the O modifier: display member offsets inside the archive 2019-10-17 11:34:29 +00:00
archive-thin-paths.test
archive-thin-read.test
archive-toc.test [llvm-ar] Implement the O modifier: display member offsets inside the archive 2019-10-17 11:34:29 +00:00
archive-update.test [llvm-ar] Uncapitalize error messages and delete full stop 2019-09-14 01:18:47 +00:00
check_binary_output.ll
coff-archive-short.test
coff-archive.test
coff-empty-drectve.test
coff-invalid.test Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
coff-weak-externals.test
directory.ll
dllimport-globalref.ll
dllimport.ll
dyn-rel-relocation.test
dynamic-reloc.test
elf-invalid-phdr.test Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
elf-unknown-type.test
invalid-alignment.test
invalid.test [llvm-readobj] - Improve error message reported by DynRegionInfo. 2020-01-30 14:34:20 +03:00
kext.test
lit.local.cfg
macho-invalid.test [Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML 2019-11-06 11:26:25 -08:00
mangle-ir.ll
multi-module.ll
multiple-sections.yaml [llvm-readobj][llvm-readelf] - Refactor parsing of the SHT_GNU_versym section. 2019-12-06 15:35:05 +03:00
nm-archive.test
nm-bitcode.test
nm-darwin-m.test
nm-error.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
nm-irix6.test
nm-pe-image.test
nm-shared-object.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
nm-trivial-object.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
nm-universal-binary.test
nm-weak-global-macho.test
obj2yaml.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
objc-imageinfo-coff.ll
objc-imageinfo-elf.ll
objc-imageinfo-macho.ll
objdump-export-list.test
objdump-no-sectionheaders.test
objdump-private-headers.test
objdump-relocations.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
objdump-section-content.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
objdump-sectionheaders.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
objdump-symbol-table.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
pr25877.test
relocation-executable.test
simple-archive.test
size-trivial-macho.test
stackmap-dump.test
wasm-bad-metadata-version.yaml
wasm-duplicate-name.test [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
wasm-invalid-file.yaml [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
wasm-invalid-section-order.test
wasm-invalid-start.test
wasm-missing-version.test
wasm-relocs-and-producers.yaml [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
wasm-string-outside-section.test Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
yaml2obj-elf-rel-noref.yaml
yaml2obj-elf-rel.yaml
yaml2obj-readobj.test [llvm/test/Object] - Cleanup and move out the yaml2obj tests. 2019-08-06 08:02:25 +00:00