freebsd-nq/contrib/elftoolchain
Ed Maste 0b93a0b462 nm: avoid crash in print_lineno if func->name is NULL
This can occur when DW_AT_specification is used to refer to another DIE
that provides the actual DW_AT_name string. For example:

< 3><0x00000086> DW_TAG_subprogram
                   DW_AT_name              PrettyStackTraceEntry
...
< 1><0x00002cf4> DW_TAG_subprogram
                   DW_AT_specification     <0x00000086>

We will need to add support for DW_AT_specification, but in the interim
we should not segfault.

Obtained from:	Elftoolchain (r3170)
Sponsored by:	The FreeBSD Foundation
2015-02-25 21:43:09 +00:00
..
addr2line Update elftoolchain to upstream revision 3163 2015-02-17 15:19:58 +00:00
common Update elftoolchain to upstream revision 3163 2015-02-17 15:19:58 +00:00
cxxfilt Copy elftoolchain binutils replacements from vendor branch 2014-11-27 20:12:13 +00:00
elfcopy Update elftoolchain to upstream revision 3163 2015-02-17 15:19:58 +00:00
libdwarf Update elftoolchain to upstream revision 3163 2015-02-17 15:19:58 +00:00
libelf Update elftoolchain to upstream revision 3163 2015-02-17 15:19:58 +00:00
libelftc Update elftoolchain to upstream rev 3130 2014-12-24 03:13:16 +00:00
nm nm: avoid crash in print_lineno if func->name is NULL 2015-02-25 21:43:09 +00:00
readelf Update elftoolchain to upstream revision 3163 2015-02-17 15:19:58 +00:00
size Temporarily disable non-FreeBSD NT_ note types 2014-12-01 16:10:03 +00:00
strings Update elftoolchain to upstream rev 3130 2014-12-24 03:13:16 +00:00