|author||H.J. Lu <firstname.lastname@example.org>||Thu Dec 06 12:28:46 2018 -0800|
|committer||H.J. Lu <email@example.com>||Thu Dec 06 12:29:01 2018 -0800|
gold: Provide more failed archive member info in error message When gold fails to get an archive member, its error message doesn't have information for 1. The failed archive member name. 2. The cause of failure: non-ELF object vs non-IR object. This patch adds the failed archive member name and non-ELF/non-IR info to gold error message. * archive.cc (Archive::get_elf_object_for_member): Also print archive member and non-ELF/non-IR info on error.