Sanity check dwarf5 form of .file
authorAlan Modra <amodra@gmail.com>
Thu, 26 Jan 2023 08:29:07 +0000 (18:59 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 26 Jan 2023 21:48:46 +0000 (08:18 +1030)
commitdd61b2d1ac00632bf2f42cdbbb32486f021e469e
treeb3c7d9b16009336b3f0a1183903cb57922f81cae
parent44a178cc69a05d03bcde37a4f46e4e8e81287b84
Sanity check dwarf5 form of .file

There's a comment a few lines earlier saying that demand_copy_C_string
has already reported an error if it returns NULL.  Given the proximity
I decided not to duplicate the comment.

* dwarf2dbg.c (dwarf2_directive_filename): Check return of
demand_copy_C_string for file.
gas/dwarf2dbg.c