llvm-project/llvm/test/tools/llvm-elfabi
George Rimar d0921a4696 [Object/ELF.h] - Improve error reporting.
The errors coming from ELF.h are usually not very
useful because they are uninformative. This patch is a
first step to improve the situation.

I tested this patch with a run of check-llvm and found
that few messages are untested. In this patch, I did not
add more tests but marked all such cases with a "TODO" comment.

For all tested messages I extended the error text to
provide more details (see test cases changed).

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

llvm-svn: 365183
2019-07-05 11:28:49 +00:00
..
Inputs [elfabi] Add support for reading dynamic symbols from binaries 2019-01-24 22:39:21 +00:00
binary-read-add-soname.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-arch.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-bad-soname.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-bad-vaddr.test [Object/ELF.h] - Improve error reporting. 2019-07-05 11:28:49 +00:00
binary-read-neededlibs-bad-offset.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-neededlibs.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-no-dt-strsz.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-no-dt-strtab.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-no-dynamic.test [elfabi] Add support for reading DT_SONAME from binaries 2019-01-16 17:47:16 +00:00
binary-read-replace-soname.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-soname-no-null.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-soname.test [yaml2obj][obj2yaml] - Add support for dumping/parsing .dynamic sections. 2019-02-09 11:34:28 +00:00
binary-read-syms-gnu-hash.test [elfabi] Add support for reading dynamic symbols from binaries 2019-01-24 22:39:21 +00:00
binary-read-syms-sysv-hash.test [elfabi] Add support for reading dynamic symbols from binaries 2019-01-24 22:39:21 +00:00
fail-file-open.test
read-tbe-as-elf.test
read-tbe-as-tbe.test
read-unsupported-file.test
tbe-emits-current-version.test
tbe-read-basic.test