[PATCH] D69255: [obj2yaml] - Better dumping for relocations without symbols associated.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 06:16:07 PDT 2019


grimar created this revision.
grimar added reviewers: MaskRay, jhenderson, rupprecht.
Herald added subscribers: kbarton, nemanjai.

This just reorders the code and removes an assignment
of an empty string for the case when a relocation has
no symbol associated. With this our output becomes
cleaner and shorter.


https://reviews.llvm.org/D69255

Files:
  test/tools/obj2yaml/elf-ppc64-relocations.yaml
  test/tools/obj2yaml/no-symbol-reloc.test
  test/tools/obj2yaml/relocation-unsupported-machine.yaml
  tools/obj2yaml/elf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69255.225867.patch
Type: text/x-patch
Size: 15409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191021/a6acebab/attachment.bin>


More information about the llvm-commits mailing list