PR22201, DW_AT_name with out of bounds reference
authorAlan Modra <amodra@gmail.com>
Mon, 25 Sep 2017 10:16:34 +0000 (19:46 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 25 Sep 2017 12:31:47 +0000 (22:01 +0930)
commit11855d8a1f11b102a702ab76e95b22082cccf2f8
tree26a93462f025dbadab02761b3e28cdc0f2661de3
parentc361faae8d964db951b7100cada4dcdc983df1bf
PR22201, DW_AT_name with out of bounds reference

DW_AT_name ought to always have a string value.

PR 22201
* dwarf2.c (scan_unit_for_symbols): Ignore DW_AT_name unless it
has string form.
(parse_comp_unit): Likewise.
bfd/ChangeLog
bfd/dwarf2.c