[PATCH] D73888: [yaml2obj][obj2yaml] - Simplify format of the SHT_LLVM_ADDRSIG section.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 06:25:37 PST 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

Previously the description allowed to describe symbols with use of
`Name` and `Index` keys. This patch removes them and now it is still
possible to use either names or symbol indexes, but the code is simpler
and the format is slightly different.

Such a change will be useful for another patches, e.g see:
https://reviews.llvm.org/D73788#inline-671077


https://reviews.llvm.org/D73888

Files:
  llvm/include/llvm/ObjectYAML/ELFYAML.h
  llvm/lib/ObjectYAML/ELFEmitter.cpp
  llvm/lib/ObjectYAML/ELFYAML.cpp
  llvm/test/tools/llvm-readobj/ELF/addrsig.test
  llvm/test/tools/obj2yaml/elf-llvm-addrsig-section.yaml
  llvm/test/tools/yaml2obj/ELF/llvm-addrsig-section.yaml
  llvm/tools/obj2yaml/elf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73888.242052.patch
Type: text/x-patch
Size: 12852 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200203/88783477/attachment.bin>


More information about the llvm-commits mailing list