[PATCH] D68983: [yaml2obj, obj2yaml] - Add support for SHT_NOTE sections.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 06:09:59 PDT 2019


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.

SHT_NOTE is the section that consists of
namesz, descsz, type, name + padding, desc + padding data.

(https://docs.oracle.com/cd/E23824_01/html/819-0690/chapter6-18048.html)

This patch teaches yaml2obj, obj2yaml to dump and parse them.


https://reviews.llvm.org/D68983

Files:
  include/llvm/ObjectYAML/ELFYAML.h
  lib/ObjectYAML/ELFEmitter.cpp
  lib/ObjectYAML/ELFYAML.cpp
  test/tools/obj2yaml/elf-sht-note.yaml
  test/tools/yaml2obj/elf-sht-note.yaml
  tools/obj2yaml/elf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68983.225014.patch
Type: text/x-patch
Size: 21014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191015/8d741966/attachment.bin>


More information about the llvm-commits mailing list