llvm-project/llvm/test/tools/yaml2obj
James Henderson d82914c8d2 [yaml2obj][obj2yaml] Remove section type range markers from allowed mappings and support hex values
yaml2obj/obj2yaml previously supported SHT_LOOS, SHT_HIOS, and
SHT_LOPROC for section types. These are simply values that delineate a
range and don't really make sense as valid values. For example if a
section has type value 0x70000000, obj2yaml shouldn't print this value
as SHT_LOPROC. Additionally, this was missing the three other range
markers (SHT_HIPROC, SHT_LOUSER and SHT_HIUSER).

This change removes these three range markers. It also adds support for
specifying the type as an integer, to allow section types that LLVM
doesn't know about.

Reviewed by: grimar

Differential Revision: https://reviews.llvm.org/D58383

llvm-svn: 354344
2019-02-19 16:22:21 +00:00
..
coff-arm64.yaml [obj2yaml] [COFF] Write RVA instead of VA for sections, fix roundtripping executables 2018-11-29 20:53:57 +00:00
coff-symbol-index.yaml [ObjectYAML] [COFF] Support multiple symbols with the same name 2019-01-07 20:55:33 +00:00
dynamic-section-i386.test [yaml2obj] - Fix .dynamic section entries writing for 32bit targets. 2019-02-10 08:35:38 +00:00
dynamic-section.yaml
dynamic-symbols.yaml
dynsym-dynstr-addr.yaml [yaml2obj] - Do not ignore explicit addresses for .dynsym and .dynstr 2019-02-19 12:15:04 +00:00
elf-abiversion.yaml [yaml2obj/obj2yaml] - Support dumping/parsing ABI version. 2018-12-20 10:43:49 +00:00
elf-comdat-broken-info.yaml [yaml2obj] - Teach yaml2obj to produce SHT_GROUP section with a custom Info field. 2018-08-15 13:55:22 +00:00
elf-comdat-broken.yaml [yaml2obj] - Teach tool to produce SHT_GROUP section with a custom type. 2018-08-15 11:43:00 +00:00
elf-ent-size.yaml
empty-symbols.yaml
invalid-symboless-relocation.yaml
invalid_output_file.test
lit.local.cfg
missing_document_tag.yaml
program-header-align.yaml
program-header-nobits.yaml
program-header.yaml
reloc-sec-info.yaml [yaml2elf] - Use check-next in test. 2018-08-16 12:40:27 +00:00
section-link.yaml [yaml2obj] - Allow to use numeric sh_link (Link) value for sections. 2018-08-16 12:44:17 +00:00
section-ordering.yaml
section-type.yaml [yaml2obj][obj2yaml] Remove section type range markers from allowed mappings and support hex values 2019-02-19 16:22:21 +00:00
symbol-index-invalid.yaml
symbol-index.yaml
symbol-type.yaml [yaml2obj]Allow number for ELF symbol type 2019-02-06 17:16:33 +00:00
symboless-relocation.yaml
unnamed-section.yaml
unsupported_document_tag.yaml
verneed-section.yaml Recommit r354328, r354329 "[obj2yaml][yaml2obj] - Add support of parsing/dumping of the .gnu.version_r section." 2019-02-19 14:53:48 +00:00
versym-section.yaml [yaml2obj][obj2yaml] - Support SHT_GNU_versym (.gnu.version) section. 2019-02-19 15:29:07 +00:00