]> granicus.if.org Git - llvm/commit
[llvm-readobj/llvm-readelf] - .stack_sizes: demangle symbol names in warnings reported.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 25 Sep 2019 13:16:43 +0000 (13:16 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 25 Sep 2019 13:16:43 +0000 (13:16 +0000)
commit0a0ac9dcfb51ce71f4147df30a2289f465f49fc6
tree8141449a4931979955d9fc87c1585658acb0fdc0
parent5d102992aca122dea14e08c6a913024f01f770c2
[llvm-readobj/llvm-readelf] - .stack_sizes: demangle symbol names in warnings reported.

I started this patch as a refactoring, tried to make a helper for
getting symbol names, similar to how we get section names
used in warning messages.

So this patch cleanups the code and fixes an issue: symbol names
in warning messages were not demangled.

Differential revision: https://reviews.llvm.org/D68012

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372867 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-readobj/stack-sizes.test
tools/llvm-readobj/ELFDumper.cpp