[PATCH] D65537: Print reasonable representations of type names in llvm-nm, readelf and readobj.

Sunil Srivastava via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 13:41:11 PDT 2019


Sunil_Srivastava created this revision.
Sunil_Srivastava added reviewers: jhenderson, mmpozulp.
Herald added subscribers: llvm-commits, rupprecht.
Herald added a project: LLVM.
Sunil_Srivastava added a comment.

This patch makes no executable code changes, just the ElfSymbolTypes table.


Fixes https://bugs.llvm.org/show_bug.cgi?id=41713.

For type values that do not have proper names, print reasonable representation in llvm-nm, llvm-readobj and llvm-readelf, matching GNU tools.


Repository:
  rL LLVM

https://reviews.llvm.org/D65537

Files:
  include/llvm/Object/ELFObjectFile.h
  lib/Object/ELFObjectFile.cpp
  test/tools/llvm-nm/format-sysv-type.test
  test/tools/llvm-readobj/elf-symbol-types.test
  test/tools/yaml2obj/symbol-type.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65537.212652.patch
Type: text/x-patch
Size: 7999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190731/41d95209/attachment.bin>


More information about the llvm-commits mailing list