[PATCH] D59875: [yaml2obj][obj2yaml] - Teach yaml2obj/obj2yaml tools about STB_GNU_UNIQUE symbols.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 06:11:46 PDT 2019


grimar created this revision.
grimar added a reviewer: jhenderson.
Herald added a subscriber: jakehehrlich.

yaml2obj/obj2yaml does not support the symbols with STB_GNU_UNIQUE yet.
Currently, obj2yaml fails with llvm_unreachable when met such a symbol.

I want to support it because of https://bugs.llvm.org/show_bug.cgi?id=41196, 
which would require this for the test case.


https://reviews.llvm.org/D59875

Files:
  include/llvm/ObjectYAML/ELFYAML.h
  lib/ObjectYAML/ELFYAML.cpp
  test/tools/obj2yaml/elf-gnu-unique-symbols.yaml
  test/tools/yaml2obj/elf-gnu-unique-symbols.yaml
  tools/obj2yaml/elf2yaml.cpp
  tools/yaml2obj/yaml2elf.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59875.192430.patch
Type: text/x-patch
Size: 7374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190327/d5f2dded/attachment.bin>


More information about the llvm-commits mailing list