[PATCH] dwarf: use find_abstract_instance for vars and DW_AT_specification

Nick Clifton nickc@redhat.com
Mon Aug 8 11:06:13 GMT 2022


Hi Martin,

> bfd/ChangeLog:
> 
> 	PR 29442
> 	* dwarf2.c (struct varinfo): Use const char * type.
> 	(scan_unit_for_symbols): Call find_abstract_instance for
> 	DW_AT_specification for variables that can be in a different CU
> 	(e.g. done by dwz)

Approved - please apply.

I would ask for a testcase as well, but I am not sure if one could be
constructed that was independent of dwz.

Cheers
   Nick



More information about the Binutils mailing list