]> granicus.if.org Git - llvm/commit
[llvm/Object] - Add a test for "empty string table" error.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 31 Jul 2019 08:12:01 +0000 (08:12 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 31 Jul 2019 08:12:01 +0000 (08:12 +0000)
commitd5f66502266315b5dbad775b4cdd42fe083ae6bb
tree3055c110568c662a697f14d035bb04a64dacc792
parentf8d344fecca6ab4dfbd0cf45fdc0720dca2ccdd1
[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