1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Object
Georgii Rymar 5974dfc782 [llvm-readelf/llvm-readobj] - Improved the error reporting in a few method related to versioning.
I was investigating a change previously discussed that eliminates an excessive
empty lines from the output when we report warnings and errors
(https://reviews.llvm.org/D70826#inline-639055) and found
that we need this refactoring or alike to achieve that.

The problem is that some of our functions that finds symbol versions just
fail instead of returning errors or printing warnings. Another problem
is that they might print a warning on the same line with the regular output.
In this patch I've splitted getting of the version information and dumping of it
for GNU printVersionSymbolSection(). I had to change a few methods to return
Error or Expected<> to do that properly.

Differential revision: https://reviews.llvm.org/D71118
2019-12-10 13:08:18 +03:00
..
AArch64
AMDGPU
ARM
Inputs [Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML 2019-11-06 11:26:25 -08:00
Lanai
Mips
RISCV
X86 [llvm-objdump] Print relocation addends in hexadecimal 2019-11-19 12:27:18 +00: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
archive-format.test
archive-long-filenames-no-null-terminator.test
archive-long-index.test
archive-move.test
archive-pad.test
archive-replace-pos.test
archive-symtab.test
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
check_binary_output.ll
coff-archive-short.test
coff-archive.test
coff-empty-drectve.test
coff-invalid.test
coff-weak-externals.test
directory.ll
dllimport-globalref.ll
dllimport.ll
dyn-rel-relocation.test
dynamic-reloc.test
elf-invalid-phdr.test
elf-unknown-type.test
invalid-alignment.test
invalid.test [llvm-readelf/llvm-readobj] - Improved the error reporting in a few method related to versioning. 2019-12-10 13:08:18 +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
nm-irix6.test
nm-pe-image.test
nm-shared-object.test [test][tools] Add missing and improve testing 2019-12-09 12:24:23 +00:00
nm-trivial-object.test
nm-universal-binary.test
nm-weak-global-macho.test
no-section-header-string-table.test
no-section-table.test
obj2yaml.test
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 [llvm-objdump] Print relocation addends in hexadecimal 2019-11-19 12:27:18 +00:00
objdump-section-content.test
objdump-sectionheaders.test [yaml2obj] - Make .symtab to be not mandatory section for SHT_REL[A] section. 2019-10-29 11:43:12 +03:00
objdump-symbol-table.test
pr25877.test
readobj-absent.test
readobj-elf-versioning.test
readobj-shared-object.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
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
yaml2obj-elf-rel-noref.yaml
yaml2obj-elf-rel.yaml
yaml2obj-readobj.test