hanchenye-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
binary-read-add-soname.test
binary-read-arch.test
binary-read-bad-soname.test
binary-read-bad-vaddr.test
binary-read-neededlibs-bad-offset.test
binary-read-neededlibs.test
binary-read-no-dt-strsz.test
binary-read-no-dt-strtab.test
binary-read-no-dynamic.test
binary-read-replace-soname.test
binary-read-soname-no-null.test
binary-read-soname.test
binary-read-syms-gnu-hash.test
binary-read-syms-sysv-hash.test
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