[yaml2obj/obj2yaml] - Add support for SHT_LLVM_ADDRSIG sections.
commitea84f149da72e5a85771df7ca3baf963399d6754
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 3 Oct 2019 13:57:08 +0000 (3 13:57 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 3 Oct 2019 13:57:08 +0000 (3 13:57 +0000)
tree1453f399875ba905c0665b6b68148957bb355315
parent2dd645f68c6cf18ba89f5605c0dd160aea8cfa97
[yaml2obj/obj2yaml] - Add support for SHT_LLVM_ADDRSIG sections.

SHT_LLVM_ADDRSIG is described here:
https://llvm.org/docs/Extensions.html#sht-llvm-addrsig-section-address-significance-table

This patch teaches tools to dump them and to parse the YAML declarations of such sections.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373598 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ObjectYAML/ELFYAML.h
lib/ObjectYAML/ELFEmitter.cpp
lib/ObjectYAML/ELFYAML.cpp
test/tools/llvm-readobj/elf-section-types.test
test/tools/obj2yaml/elf-llvm-addrsig-section.yaml [new file with mode: 0644]
test/tools/yaml2obj/elf-llvm-addrsig-section.yaml [new file with mode: 0644]
tools/obj2yaml/elf2yaml.cpp