1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/tools/yaml2obj
George Rimar a52c2bff8d [yaml2obj/obj2yaml] - Do not trigger llvm_unreachable when dumping/parsing relocations and e_machine is unsupported.
Currently when e_machine is set to something that is not supported by YAML lib,
then tools fail with llvm_unreachable.

In this patch I allow them to handle relocations in this case.
It can be used to dump and create objects for broken or unsupported targets.

Differential revision: https://reviews.llvm.org/D67657

llvm-svn: 372377
2019-09-20 09:15:36 +00:00
..
coff-arm64.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
coff-invalid-alignment.test [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
coff-symbol-index.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
duplicate-section-names.test [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
duplicate-symbol-names.test [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
dynamic-relocations.yaml [yaml2obj] - Lookup relocation symbols in dynamic symbol when .dynsym referenced. 2019-08-22 12:39:56 +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-raw-content.yaml [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
dynamic-section.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
dynamic-symbols.yaml [yaml2obj] - Fix BB after r371380 2019-09-09 09:55:56 +00:00
dynsymtab-implicit-sections-size-content.yaml [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
dynsymtab-shlink.yaml [yaml2elf] - Check we are able to set custom sh_link for .symtab/.dynsym 2019-06-11 10:00:51 +00:00
elf-abiversion.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
elf-class-endianness.test [llvm/test/Object] - Cleanup and move out the yaml2obj tests. 2019-08-06 08:02:25 +00:00
elf-comdat-broken-info.yaml [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
elf-comdat-broken-members.yaml [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
elf-comdat-broken.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
elf-custom-null-section.yaml [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
elf-emachine.yaml [yaml2obj/obj2yaml] - Allow setting an arbitrary values for e_machine. 2019-09-17 11:51:26 +00:00
elf-ent-size.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
elf-gnu-unique-symbols.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
elf-header-elfdatanone.yaml [yaml2obj] - Allow producing ELFDATANONE ELFs 2019-03-07 12:09:19 +00:00
elf-header-sh-fields.yaml [yaml2obj] Rename SHOffset (e_shoff) field to SHOff. NFC 2019-09-06 09:23:17 +00:00
elf-no-phdrs.yaml [yaml2obj] Make e_phoff and e_phentsize 0 if there are no program headers 2019-09-06 02:27:55 +00:00
elf-override-shname.yaml [yaml2obj] - Allow overriding sh_name fields of the sections. 2019-09-02 09:47:17 +00:00
elf-override-shoffset.yaml [yaml2obj][tests] Replace 8-byte od conversion with 1-byte conversion 2019-08-03 18:52:45 +00:00
elf-override-shsize.yaml [yaml2obj] Write the section header table after section contents 2019-09-05 14:25:57 +00:00
elf-sh-addralign.yaml [llvm/test/Object] - Cleanup and move out the yaml2obj tests. 2019-08-06 08:02:25 +00:00
elf-sht-symtab-shndx.yaml [llvm-readobj] - Remove deprecated unwrapOrError(Expected<T> EO). 2019-08-09 10:53:12 +00:00
elf-symbol-binding.yaml [llvm/test/Object] - Cleanup and move out the yaml2obj tests. 2019-08-06 08:02:25 +00:00
elf-symbol-stother.yaml Recommit r371023 "[lib/ObjectYAML] - Stop calling error(1) when mapping the st_other field of a symbol." 2019-09-05 08:52:26 +00:00
elf-symbol-visibility.yaml [yaml2obj][obj2yaml] - Use a single "Other" field instead of "Other", "Visibility" and "StOther". 2019-08-30 13:39:22 +00:00
elf-symbols-binding-order.yaml [yaml2obj] - Allow placing local symbols after globals. 2019-08-29 10:58:47 +00:00
elf-symtab-shinfo.yaml Revert "Revert r363377: [yaml2obj] - Allow setting custom section types for implicit sections." 2019-06-14 14:25:34 +00:00
elf-symtab-shtype.yaml Revert "Revert r363377: [yaml2obj] - Allow setting custom section types for implicit sections." 2019-06-14 14:25:34 +00:00
empty-or-invalid-doc.yaml [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
empty-symbols.yaml
explicit-dynsym-no-dynstr.yaml [yaml2obj] Write the section header table after section contents 2019-09-05 14:25:57 +00:00
implicit-sections-addr.yaml [yaml2obj] - Allow setting the custom Address for .strtab 2019-06-14 11:13:32 +00:00
implicit-sections-info.yaml [yaml2obj/obj2yaml] - Make RawContentSection::Info Optional<> 2019-06-19 08:57:38 +00:00
implicit-sections-types.test Revert "Revert r363377: [yaml2obj] - Allow setting custom section types for implicit sections." 2019-06-14 14:25:34 +00:00
implicit-sections.test [yaml2obj] Write the section header table after section contents 2019-09-05 14:25:57 +00:00
invalid_output_file.test [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
invalid-docnum.test [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
invalid-symboless-relocation.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
invalid-yaml.yaml [llvm/test/Object] - Cleanup and move out the yaml2obj tests. 2019-08-06 08:02:25 +00:00
lit.local.cfg [obj2yaml][yaml2obj]Locate all .yaml and .test tests 2019-02-20 15:13:44 +00:00
local-symbols.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
minidump-raw-stream-small-size.yaml [ObjectYAML] Add basic minidump generation support 2019-03-22 14:47:26 +00:00
minidump-systeminfo-other-long.yaml [ObjectYAML] Add basic minidump generation support 2019-03-22 14:47:26 +00:00
minidump-systeminfo-other-not-hex.yaml [ObjectYAML] Add basic minidump generation support 2019-03-22 14:47:26 +00:00
minidump-systeminfo-other-short.yaml [ObjectYAML] Add basic minidump generation support 2019-03-22 14:47:26 +00:00
minidump-systeminfo-x86-long.yaml [ObjectYAML] Add basic minidump generation support 2019-03-22 14:47:26 +00:00
minidump-systeminfo-x86-short.yaml [ObjectYAML] Add basic minidump generation support 2019-03-22 14:47:26 +00:00
missing_document_tag.yaml [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
multi-doc.test [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
program-header-align.yaml [yaml2obj] Set p_align to the maximum sh_addralign of contained sections 2019-09-10 09:16:34 +00:00
program-header-nobits.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
program-header-size-offset.yaml [yaml2obj] Simplify p_filesz/p_memsz computing 2019-09-09 16:45:17 +00:00
program-header.yaml [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
reloc-sec-info.yaml [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
relocation-explicit-symbol-index.yaml [yaml2obj][obj2yaml] - Change how symbol's binding is descibed when parsing/dumping. 2019-04-03 14:53:42 +00:00
relocation-missing-symbol.yaml [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
relocation-unsupported-machine.yaml [yaml2obj/obj2yaml] - Do not trigger llvm_unreachable when dumping/parsing relocations and e_machine is unsupported. 2019-09-20 09:15:36 +00:00
section-link.yaml [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
section-ordering.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
section-size-content.yaml [yaml2obj/ObjectYAML] - Cleanup the error reporting API, add custom errors handlers. 2019-09-13 16:00:16 +00:00
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
strtab-implicit-sections-flags.yaml [yaml2obj] - Allow setting cutom Flags for implicit sections. 2019-06-14 11:01:14 +00:00
strtab-implicit-sections-size-content.yaml [yaml2obj] Write the section header table after section contents 2019-09-05 14:25:57 +00:00
symbol-index-invalid.yaml
symbol-index.yaml [llvm-nm][llvm-readelf] Avoid single-dash -long-option in tests 2019-04-27 16:12:14 +00:00
symbol-name.yaml [yaml2obj] - Allow setting st_value explicitly for Symbol. 2019-05-07 12:10:51 +00:00
symbol-type.yaml Print reasonable representations of type names in llvm-nm, readelf and readobj 2019-08-09 16:54:51 +00:00
symboless-relocation.yaml
symtab-implicit-sections-flags.yaml Revert "Revert r363377: [yaml2obj] - Allow setting custom section types for implicit sections." 2019-06-14 14:25:34 +00:00
symtab-implicit-sections-size-content.yaml [lib/ObjectYAML] - Improve and cleanup error reporting in ELFState<ELFT> class. 2019-09-09 09:43:03 +00:00
symtab-shlink.yaml [yaml2elf] - Check we are able to set custom sh_link for .symtab/.dynsym 2019-06-11 10:00:51 +00:00
unnamed-section.yaml [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
unsupported_document_tag.yaml
verdef-section.yaml [yaml2obj][obj2yaml] - Change how symbol's binding is descibed when parsing/dumping. 2019-04-03 14:53:42 +00:00
verneed-section.yaml [llvm-readobj] Should declare ListScope for verneed entries. 2019-04-10 12:47:21 +00:00
versym-section.yaml [yaml2obj] Write the section header table after section contents 2019-09-05 14:25:57 +00:00