[yaml2obj] - Implement the "SectionHeaderTable" tag.
authorGeorgii Rymar <grimar@accesssoftek.com>
Thu, 14 May 2020 11:15:40 +0000 (14:15 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Thu, 28 May 2020 10:42:43 +0000 (13:42 +0300)
commitad07d5f39425d4b7013346f4eb52a1e99e6c19a8
tree345cb662c3ddcc3c5749480fde87b1bd57859c90
parentd283fc4f9d07a5f3334fe682ccabfc16e8d2933b
[yaml2obj] - Implement the "SectionHeaderTable" tag.

With the "SectionHeaderTable" it is now possible to reorder
entries in the section header table.

It also allows to stop emitting the table.

Differential revision: https://reviews.llvm.org/D80002
llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/yaml2obj/ELF/section-headers.yaml [new file with mode: 0644]