]> granicus.if.org Git - llvm/commit
Print reasonable representations of type names in llvm-nm, readelf and readobj
authorSunil Srivastava <sunil_srivastava@playstation.sony.com>
Fri, 9 Aug 2019 16:54:51 +0000 (16:54 +0000)
committerSunil Srivastava <sunil_srivastava@playstation.sony.com>
Fri, 9 Aug 2019 16:54:51 +0000 (16:54 +0000)
commit308323db522a6e9c185fe0213bba96d964c9e70d
treefaf6b28bbd0619b5f5883a112af4f3d15570ffad
parent561feff1330d9abf3d83351f91e89938d324487e
Print reasonable representations of type names in llvm-nm, readelf and readobj

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

Fixes PR41713.

Differential Revision: https://reviews.llvm.org/D65537

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368451 91177308-0d34-0410-b5e6-96231b3b80d8
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