llvm-project/llvm/test/tools/llvm-readobj/ELF
Georgii Rymar 2930dab315 [llvm-readobj] - Improve error message reported by DynRegionInfo.
DynRegionInfo is a helper class used to create memory ranges.
It is used for many things and can report errors.
Errors reported currently do not provide a good diagnostic.
This patch fixes it and adds a test for each possible case.

Differential revision: https://reviews.llvm.org/D73484
2020-01-30 14:34:20 +03:00
..
AArch64
ARM
Inputs [llvm-readobj] - Rewrite gnuhash.test test to stop using precompiled objects. 2020-01-22 12:28:32 +03:00
addrsig.test [llvm-readobj][llvm-readelf] - Remove excessive empty lines when reporting errors and warnings. 2019-12-11 15:06:33 +03:00
all.test
amdgpu-elf-definitions.test
basic.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
broken-dynamic-reloc.test [llvm-readobj] - Improve error message reported by DynRegionInfo. 2020-01-30 14:34:20 +03:00
broken-dynsym-link.test
broken-group.test
check-output-order.test [llvm-readelf] - Change letters used for SHF_ARM_PURECODE and SHF_X86_64_LARGE flags. 2019-12-18 11:31:58 +03:00
demangle.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
dependent-libraries.test [llvm-readobj][llvm-readelf] - Remove excessive empty lines when reporting errors and warnings. 2019-12-11 15:06:33 +03:00
dyn-symbols.test [llvm-readobj] - Improve error message reported by DynRegionInfo. 2020-01-30 14:34:20 +03:00
dynamic-empty.test
dynamic-malformed.test [llvm-readobj] - Improve error message reported by DynRegionInfo. 2020-01-30 14:34:20 +03:00
dynamic-no-pt-dynamic.test
dynamic-not-in-pt-dynamic.test [llvm-readobj] - Improve error message reported by DynRegionInfo. 2020-01-30 14:34:20 +03:00
dynamic-table-dtnull.s
dynamic-tags-machine-specific.test [llvm-readelf][llvm-readobj] - Fix the indentation when printing dynamic tags. 2020-01-21 14:24:50 +03:00
dynamic-tags.test [llvm-readelf][llvm-readobj] - Fix the indentation when printing dynamic tags. 2020-01-21 14:24:50 +03:00
file-header-abi-version.test [llvm-readobj][test] - Fix grammar in comments. 2020-01-14 12:51:52 +03:00
file-header-os-abi.test [llvm-readobj][test] - Fix grammar in comments. 2020-01-14 12:51:52 +03:00
file-headers.test
file-name.test
file-types.test
gnu-file-headers.test [llvm-readelf] Print EI_ABIVERSION as decimal instead of hexadecimal 2020-01-06 09:25:45 -08:00
gnu-note-size.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
gnu-notes.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
gnu-phdrs.test
gnu-section-mapping-no-phdrs.test [llvm-readobj][test] - Stop using Inputs/trivial.obj.elf-x86-64. 2019-12-23 13:10:26 +03:00
gnu-section-mapping-no-shdrs.test
gnu-sections.test [llvm-readelf] - Change letters used for SHF_ARM_PURECODE and SHF_X86_64_LARGE flags. 2019-12-18 11:31:58 +03:00
gnuhash.test [llvm-readobj] - Add a few warnings for --gnu-hash-table. 2020-01-30 14:02:24 +03:00
groups.test
hash-histogram.test [llvm-readobj][test] - Cleanup hash-histogram.test 2019-12-18 11:36:49 +03:00
hash-symbols.test
hash-table.test [llvm-readobj] - Add a test for --hash-table option. 2020-01-27 12:28:21 +03:00
headers.test
hex-dump-multi.s
hex-dump.test [llvm-readobj][test] - Stop using Inputs/trivial.obj.elf-x86-64. 2019-12-23 13:10:26 +03:00
hidden-versym.test
invalid-shstrndx.test [llvm-readobj][llvm-readelf] - Remove excessive empty lines when reporting errors and warnings. 2019-12-11 15:06:33 +03:00
linker-options.test [llvm-readobj][llvm-readelf] - Remove excessive empty lines when reporting errors and warnings. 2019-12-11 15:06:33 +03:00
loadname.test
machine-specific-section-types.test
malformed-pt-dynamic.test
many-sections.s
many-sections2.s
merged.test
mips-abiflags.test
mips-got-overlapped.test
mips-got.test
mips-options-sec.test
mips-options.test
mips-plt.test
mips-reginfo.test
mips-rld-map-rel.test
mips-symbols-stother.test [llvm-readobj][test] - Refactor mips-st-other.test 2019-12-19 11:23:39 +03:00
needed-libs.test [llvm-readobj] - Refine --needed-libs implementation and add a test. 2020-01-27 13:29:28 +03:00
no-action.test
no-phdrs.test
no-relocs.test
no-shdrs.test
non-dynamic-in-pt-dynamic.test [llvm-readobj] - Improve error message reported by DynRegionInfo. 2020-01-30 14:34:20 +03:00
note-amd.s
note-amdgpu.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
note-core-ntfile-bad.test
note-core-ntfile.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
note-core.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
note-freebsd.s
note-generic.s
note-gnu-property.s
note-gnu-property2.s
note-unknown.s
packed-relocs-empty.s
packed-relocs-error1.s
packed-relocs-error2.s
packed-relocs-error3.s
packed-relocs-error4.s
packed-relocs-error5.s
packed-relocs.test
ppc64-glink.test
program-headers.test
pt-gnu-property.test
readelf-s-alias.test
reloc-negative-addend-no-sym.test
reloc-no-sym.test
reloc-symbol-with-versioning.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
reloc-types-elf-aarch64.test
reloc-types-elf-arm.test
reloc-types-elf-i386.test
reloc-types-elf-lanai.test
reloc-types-elf-mips.test
reloc-types-elf-mips64.test
reloc-types-elf-ppc64.test [ELF][PowerPC] Support R_PPC_COPY and R_PPC64_COPY 2020-01-24 09:06:20 -08:00
reloc-types-elf-x64.test
reloc-zero-name-or-value.test
relocations.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
relr-relocs.test [llvm-readobj][test] - Cleanup SHT_RELR sections testing. 2020-01-15 18:40:01 +03:00
section-arch-flags.test [llvm-readelf] - Change letters used for SHF_ARM_PURECODE and SHF_X86_64_LARGE flags. 2019-12-18 11:31:58 +03:00
section-flags-os-proc.test [llvm-readobj][test] - Move a comment. NFC. 2019-12-18 11:50:08 +03:00
section-flags.test [llvm-readelf][llvm-readobj] - Reimplement the logic of section flags dumping. 2019-12-18 10:44:40 +03:00
section-symbols.test
section-types.test
sections-ext.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
sections-no-section-header-string-table.test [llvm-readelf] - Improve dumping of objects without a section header string table. 2020-01-24 14:30:03 +03:00
sections.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
stack-sizes.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
string-dump-multi.s
string-dump.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-64bit.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-binding.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-shndx.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-types.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-visibility.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbols.test [llvm-readobj][test] - Remove --symbols --dyn-syms part from Object/readobj-shared-object.test. 2020-01-28 12:36:29 +03:00
thin-archive-paths.test [llvm-readobj][test] - Stop using Inputs/trivial.obj.elf-x86-64. 2019-12-23 13:10:26 +03:00
types.test
unwind.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
verdef-invalid.test [llvm-readobj][llvm-readelf] - Remove excessive empty lines when reporting errors and warnings. 2019-12-11 15:06:33 +03:00
verneed-flags.yaml
verneed-invalid.test [llvm-readobj][llvm-readelf] - Remove excessive empty lines when reporting errors and warnings. 2019-12-11 15:06:33 +03:00
versioninfo.test
versym-invalid.test [llvm-readobj][llvm-readelf] - Remove excessive empty lines when reporting errors and warnings. 2019-12-11 15:06:33 +03:00
wrong-shstrtab-type.test