[PATCH v3] debug/93751 Option to generate DIEs for external variables - ping

Alexey Neyman stilor@att.net
Fri Feb 28 17:20:00 GMT 2020


On 2/26/20 11:40 AM, Richard Biener wrote:

> On February 26, 2020 8:26:06 PM GMT+01:00, Alexander Monakov <amonakov@ispras.ru> wrote:
>> On Wed, 26 Feb 2020, Jason Merrill wrote:
>>
>>> Don't we want to fix the DWARF behavior to match the documentation?
>> +1 - I think Alexey correctly pointed out in the Bugzilla that
>> debuginfo
>> growth from this change would be minimal (usually the number of global
>> variables is very small compared to number of functions (and linemap
>> info).
> +1 from me as well
>
> Richard.

Attached is a revised patch that enables DIE generation for external 
variables at -g1 without an additional option.

Regards,
Alexey.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debug-93751-DWARF-DIEs-for-external-vars-with-g1.patch
Type: text/x-patch
Size: 3433 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20200228/6b4581ec/attachment.bin>


More information about the Gcc-patches mailing list