Recommit r373598 "[yaml2obj/obj2yaml] - Add support for SHT_LLVM_ADDRSIG sections."
commit7cac53d4259a6f2bac1b1829352857bb22aef4ad
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 3 Oct 2019 14:52:33 +0000 (3 14:52 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 3 Oct 2019 14:52:33 +0000 (3 14:52 +0000)
tree5ede21a80f98416495da0dc0800ebe2299e5429c
parent0caf08d733f733f06d774970b12f2a8bc4918c7a
Recommit r373598 "[yaml2obj/obj2yaml] - Add support for SHT_LLVM_ADDRSIG sections."

Fix: call `consumeError()` for a case missed.

Original commit message:

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@373606 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