[obj2yaml] - Match ".stack_size" with the original section name, and not the uniquifi...
authorRahman Lavaee <rahmanl@google.com>
Wed, 16 Sep 2020 18:31:21 +0000 (11:31 -0700)
committerRahman Lavaee <rahmanl@google.com>
Wed, 16 Sep 2020 18:33:20 +0000 (11:33 -0700)
commit14e55f82980cf1342d4d3eea4885a5375e829496
tree3d23d14af434697e9f668ab7a39634c0c7f4869e
parent88bdcbbf1aaef6ac99877cc511bf4b2a85343773
[obj2yaml] - Match ".stack_size" with the original section name, and not the uniquified name.

Without this patch, obj2yaml decodes the content of only one ".stack_size" section. Other sections are dumped with their full contents.

Reviewed By: grimar, MaskRay

Differential Revision: https://reviews.llvm.org/D87727
llvm/test/tools/obj2yaml/ELF/stack-sizes.yaml
llvm/tools/obj2yaml/elf2yaml.cpp