1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/test/Object
Georgii Rymar 6ae506ec2d [libObject, llvm-readobj] - Reimplement ELFFile<ELFT>::getEntry.
Currently, `ELFFile<ELFT>::getEntry` does not check an index of
an entry. Because of that the code might read past the end of the symbol
table silently. I've added a test to `llvm-readobj\ELF\relocations.test`
to demonstrate the possible issue. Also, I've added a unit test for
this method.

After this change, `getEntry` stops reporting the section index and
reuses the `getSectionContentsAsArray` method, which already has
all the validation needed. Our related warnings now provide
more and better context sometimes.

Differential revision: https://reviews.llvm.org/D93209
2020-12-18 16:52:27 +03:00
..
AArch64 Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
AMDGPU [AMDGPU] Remove unused check prefixes 2020-11-10 16:52:32 +00:00
ARM
Inputs [MachO] Allow the LC_IDENT load command 2020-11-11 10:15:54 -08:00
Lanai [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
Mips Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
RISCV
X86 [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03: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-malformed-object.test
archive-move.test
archive-pad.test
archive-replace-pos.test
archive-symtab.test
archive-thin-create.test
archive-thin-paths.test
archive-thin-read.test
archive-toc.test
archive-unknown-filetype.test
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 [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
dynamic-reloc.test
elf-unknown-type.test
invalid-alignment.test
invalid.test [libObject, llvm-readobj] - Reimplement ELFFile<ELFT>::getEntry. 2020-12-18 16:52:27 +03:00
kext.test
macho-invalid.test [MachO] Allow the LC_IDENT load command 2020-11-11 10:15:54 -08:00
mangle-ir.ll
multi-module.ll
multiple-sections.yaml
nm-archive.test
nm-bitcode.test
nm-darwin-m.test
nm-error.test
nm-irix6.test
nm-pe-image.test
nm-shared-object.test
nm-tapi-invalids.test [YAML] Use correct source location for unknown key errors. 2020-12-11 16:34:06 +00:00
nm-tapi.test
nm-trivial-object.test
nm-universal-binary.test
nm-weak-global-macho.test
obj2yaml.test [obj2yaml] - Teach tool to emit the "SectionHeaderTable" key and sort sections by file offset. 2020-12-01 12:59:15 +03:00
objc-imageinfo-coff.ll
objc-imageinfo-elf.ll
objc-imageinfo-macho.ll
objc-swift-mixed-imageinfo-macho.ll
objdump-export-list.test
objdump-no-sectionheaders.test
objdump-private-headers.test
objdump-relocations.test
objdump-section-content.test
objdump-sectionheaders.test
objdump-symbol-table.test
pr25877.test
relocation-executable.test
simple-archive.test
size-trivial-macho.test
stackmap-dump.test
wasm-bad-metadata-version.yaml
wasm-duplicate-name.test
wasm-invalid-file.yaml
wasm-invalid-section-order.test
wasm-invalid-start.test
wasm-missing-version.test
wasm-relocs-and-producers.yaml
wasm-string-outside-section.test
yaml2obj-elf-rel-noref.yaml [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
yaml2obj-elf-rel.yaml [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
yaml2obj-readobj.test