[llvm-readelf/obj] - Improve the warning reported when unable to read the stack size.
authorGeorgii Rymar <grimar@accesssoftek.com>
Thu, 24 Dec 2020 12:32:34 +0000 (15:32 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Fri, 25 Dec 2020 08:40:35 +0000 (11:40 +0300)
commit177779e8dd9f7d20b96d4711a81d65ab7d480bb5
tree1a2143105305c1e3657bdb2bf43913370d77c7a7
parent438bc157a47a03d36d81977a3ee9974cd021a885
[llvm-readelf/obj] - Improve the warning reported when unable to read the stack size.

It was discussed in D92545 that we might want to improve messages
reported when something is wrong with the stack size section.
This patch does it.

Differential revision: https://reviews.llvm.org/D93802
llvm/test/tools/llvm-readobj/ELF/stack-sizes.test
llvm/tools/llvm-readobj/ELFDumper.cpp