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
..
2016-11-14 00:33:03 +00:00
2015-08-09 05:14:25 +00:00
2016-12-19 23:38:07 +00:00
2016-12-13 22:16:02 +00:00
2016-07-01 05:48:45 +00:00
2016-11-07 15:54:47 +00:00
2016-04-20 17:58:13 +00:00
2016-12-04 21:13:26 +00:00
2016-01-05 05:25:16 +00:00
2016-12-27 01:10:28 +00:00
2016-07-30 01:16:06 +00:00
2016-08-03 20:21:58 +00:00
2016-10-01 00:14:01 +00:00
2016-07-03 01:35:27 +00:00
2015-09-27 07:04:16 +00:00
2016-09-03 23:04:56 +00:00
2016-07-20 03:52:04 +00:00
2016-08-24 12:32:24 +00:00
2016-12-04 23:23:59 +00:00
2016-09-29 18:24:29 +00:00
2015-11-21 09:09:25 +00:00