1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/tools/obj2yaml
Georgii Rymar e171e285ed [obj2yaml] - Dump allocatable SHT_STRTAB, SHT_SYMTAB and SHT_DYNSYM sections.
Sometimes we need to dump an object and build it again from a YAML
description produced. The problem is that obj2yaml does not dump some
of sections, like string tables and symbol tables.

Because of that yaml2obj implicitly creates them and sections created
are not placed at their original locations. They are added to the end of a section list.
That makes a preparing test cases task harder than it can be.

This patch teaches obj2yaml to dump parts of allocatable SHT_STRTAB, SHT_SYMTAB
and SHT_DYNSYM sections to print placeholders for them.
This also allows to preserve usefull parameters, like virtual address.

Differential revision: https://reviews.llvm.org/D74955
2020-03-03 11:32:49 +03:00
..
Inputs
aix_xcoff_truncated_file_header.test
aix_xcoff.test
basic-minidump.yaml
call-graph-profile-section.yaml [yaml2obj/obj2yaml] - Add support for the SHT_LLVM_CALL_GRAPH_PROFILE section. 2020-02-04 15:13:20 +03:00
coff-bss.s
coff-long-file-symbol.test
coff-long-section-name.test
coff-section-aux-symbol.test
coff-weak-external.test
duplicate-symbol-and-section-names.test [obj2yaml] - Dump allocatable SHT_STRTAB, SHT_SYMTAB and SHT_DYNSYM sections. 2020-03-03 11:32:49 +03:00
dynamic-section-arch-tags.test [test] yaml2obj -docnum => --docnum= 2020-02-04 10:33:21 -08:00
dynamic-section.test
elf-emachine.yaml
elf-entsize.yaml
elf-gnu-hash-section.yaml [yaml2obj] - Automatically assign sh_addr for allocatable sections. 2020-02-22 14:43:54 +03:00
elf-gnu-unique-symbols.yaml
elf-hash-section.yaml
elf-llvm-addrsig-section.yaml [yaml2obj][obj2yaml] - Simplify format of the SHT_LLVM_ADDRSIG section. 2020-02-05 12:33:14 +03:00
elf-mips-eflags.yaml
elf-no-symtab.yaml
elf-null-section.yaml
elf-ppc64-relocations.yaml
elf-reladyn-section-shinfo.yaml
elf-shinfo.yaml
elf-shlink.yaml
elf-sht-symtab-shndx.yaml
elf-stack-sizes.yaml
elf-symbol-visibility.yaml
implicit-sections-order.yaml [obj2yaml] - Dump allocatable SHT_STRTAB, SHT_SYMTAB and SHT_DYNSYM sections. 2020-03-03 11:32:49 +03:00
invalid_input_file.test
invalid-section-name.yaml
linker-options.yaml
lit.local.cfg
llvm-deplibs-section.yaml
macho-DWARF-debug_aranges-error.yaml [DWARF] Return Error from DWARFDebugArangeSet::extract(). 2020-01-23 12:41:05 +07:00
missing_symtab.test
no-symbol-reloc.test
relocation-unsupported-machine.yaml
relr-section.yaml [yaml2obj][test] Simplify some e_machine EI_CLASS EI_DATA tests 2020-02-07 09:35:26 -08:00
section-group.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
section-type.yaml
sections-info.yaml
special-symbol-indices.yaml [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-type.yaml [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
verdef-section.yaml
verneed-section.yaml
versym-section.yaml [obj2yaml] - Dump allocatable SHT_STRTAB, SHT_SYMTAB and SHT_DYNSYM sections. 2020-03-03 11:32:49 +03:00