BoF DWARF5 patches (25% .debug section size reduction)

Jeff Law law@redhat.com
Tue Nov 17 00:19:32 GMT 2020


On 9/29/20 7:56 AM, Mark Wielaard wrote:
> On Thu, 2020-09-10 at 13:16 +0200, Jakub Jelinek wrote:
>> On Wed, Sep 09, 2020 at 09:57:54PM +0200, Mark Wielaard wrote:
>>> --- a/gcc/doc/invoke.texi
>>> +++ b/gcc/doc/invoke.texi
>>> @@ -9057,13 +9057,14 @@ possible.
>>>  @opindex gdwarf
>>>  Produce debugging information in DWARF format (if that is supported).
>>>  The value of @var{version} may be either 2, 3, 4 or 5; the default version
>>> -for most targets is 4.  DWARF Version 5 is only experimental.
>>> +for most targets is 5 (with the exception of vxworks and darwin which
>>> +default to version 2).
>> I think in documentation we should spell these VxWorks and Darwin/Mac OS X
> OK. As attached.
>
> Are we ready to flip the default to 5?

An excellent question.  I think Jakub and/or Jason probably need to make
the call on this one.


Jeff





More information about the Gcc-patches mailing list