1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/tools/yaml2obj
Georgii Rymar 10f626b307 [obj2yaml,yaml2obj] - Fix issues with creating/dumping group sections.
We have the following issues related to group sections:
1) yaml2obj is unable to set the custom `sh_entsize` value, because the `EntSize`
   key is currently ignored.
2) obj2yaml is unable to dump the group section which `sh_entsize != 4`.
3) obj2yaml always dumps the "EntSize" for group sections, though
   usually we are trying to omit dumping default values when dumping keys.
   I.e. we should not print the "EntSize" key when `sh_entsize` == 4.

This patch fixes (1),(3) and adds the test case to document the behavior of (2).

Differential revision: https://reviews.llvm.org/D93854
2021-01-12 14:07:42 +03:00
..
Archives [yamls2obj][test] - Make the Archives/regular.yaml test stricter. 2020-10-28 17:04:08 +03:00
COFF
ELF [obj2yaml,yaml2obj] - Fix issues with creating/dumping group sections. 2021-01-12 14:07:42 +03:00
Minidump
empty-or-invalid-doc.yaml
help.test
invalid-yaml.yaml
macro.yaml
missing_document_tag.yaml
multi-doc.yaml
output-file.yaml
unsupported_document_tag.yaml