[llvm/Object] - Add a test for "empty string table" error.
commitcf979a0ee595289c650128c2cbd6dd11fadc5f0d
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 31 Jul 2019 08:12:01 +0000 (31 08:12 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 31 Jul 2019 08:12:01 +0000 (31 08:12 +0000)
tree3055c110568c662a697f14d035bb04a64dacc792
parent31326b711c678ed70090ee2507986e61f9e16654
[llvm/Object] - Add a test for "empty string table" error.

This error was never tested. In this patch I improved
the error message, added the test case and also simplified
the code that processes a similar error right below.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367391 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
test/Object/invalid.test