freebsd-dev/contrib/elftoolchain
Mark Johnston 2ef476c9a2 Follow DW_AT_specification when looking up DW_AT_type attributes.
dwarf_attrval_*() will search the parent DIE referenced by a
DW_AT_abstract_origin attribute for the value of the DW_AT_type attribute.
Do the same thing for the DW_AT_specification attributes in variable
definitions emitted by GCC 6.2, and ensure that we return an error rather
than crashing if neither DW_AT_abstract_origin or DW_AT_specification is
found when looking for the value of the DW_AT_type attribute.

PR:		215350, 215395
Reviewed by:	emaste
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D8920
2016-12-28 21:54:33 +00:00
..
addr2line Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
ar Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
brandelf Use the in-tree sys/elf_common.h to build libelftc. 2016-06-05 23:05:14 +00:00
common Update to ELF Tool Chain r3490 2016-08-31 15:05:04 +00:00
cxxfilt c++filt: flush output after newline 2016-11-09 15:04:29 +00:00
elfcopy elfcopy: fix PE object section name corruption and crash 2016-12-27 17:31:07 +00:00
elfdump Update to ELF Tool Chain r3490 2016-08-31 15:05:04 +00:00
libdwarf Follow DW_AT_specification when looking up DW_AT_type attributes. 2016-12-28 21:54:33 +00:00
libelf gelf_getphdr: Allow extended indices 2016-12-16 01:42:51 +00:00
libelftc libelftc: add elf{32,64}-tradlittlemips target emulation names 2016-12-10 01:40:10 +00:00
libpe Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
nm Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
readelf readelf(1) -S: Include zero index and match binutils' no-name 2016-12-07 18:33:40 +00:00
size Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
strings strings: fix exit status if a file before the last one fails 2016-10-26 17:07:53 +00:00