[llvm-nm] - Add a test case for case when we dump a symbol that belongs to a section...
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 2 Sep 2019 13:54:45 +0000 (13:54 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 2 Sep 2019 13:54:45 +0000 (13:54 +0000)
commit4b9233cafbde08dc9ff3b491621be37bad20a52a
treefc50d8ce1f418e0f8f31f82f473a130b8c28cebb
parent9c68eddbbe77c7d136de1ec23ed232d3042b0505
[llvm-nm] - Add a test case for case when we dump a symbol that belongs to a section with a broken sh_name.

It adds a test case for a problem fixed by D66976.

It was introduced by me in D66089.
The error reported was never consumed because of a wrong variable name used,
so it could fail when LLVM_ENABLE_ABI_BREAKING_CHECKS is used.

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

llvm-svn: 370661
llvm/test/tools/llvm-nm/format-sysv-section.test