SuccessChanges

Summary

  1. [yaml2obj] - Improve handling of the SHT_GROUP section. (details)
Commit 5b118a0471435751f39eeb92d56ecc3956053304 by grimar
[yaml2obj] - Improve handling of the SHT_GROUP section.
Currently, when we do not specify "Info" field in a YAML description for
SHT_GROUP section, yaml2obj reports an error:
"error: unknown symbol referenced: '' by YAML section '.group1'"
Also, we do not link it with a symbol table by default, though it is
what we do for AddrsigSection, HashSection, RelocationSection.
(http://www.sco.com/developers/gabi/latest/ch4.sheader.html#sh_link)
The patch fixes missings mentioned.
Differential revision: https://reviews.llvm.org/D69299
The file was modifiedllvm/test/tools/yaml2obj/elf-override-shsize.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFYAML.cpp
The file was modifiedllvm/test/tools/yaml2obj/elf-override-shname.yaml
The file was modifiedllvm/test/tools/yaml2obj/elf-comdat-broken-info.yaml
The file was modifiedllvm/test/tools/yaml2obj/elf-comdat-broken.yaml
The file was modifiedllvm/test/tools/yaml2obj/section-link.yaml
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/test/tools/yaml2obj/duplicate-section-names.test
The file was modifiedllvm/test/tools/yaml2obj/elf-comdat-broken-members.yaml
The file was modifiedllvm/test/tools/yaml2obj/elf-override-shoffset.yaml