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

2021-01-18 Thread Mark Wielaard
> On 15/01/2021 17:16, Jakub Jelinek via Gcc-patches wrote: > > On Sun, Nov 15, 2020 at 11:41:24PM +0100, Mark Wielaard wrote: > >> From: Mark Wielaard > >> Date: Tue, 29 Sep 2020 15:52:44 +0200 > >> Subject: [PATCH] Default to DWARF5 > >> > >> gcc/ChangeLog: > >> > >>* common.opt (gdwarf-): In

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

2021-01-18 Thread Sebastian Huber
On 15/01/2021 17:16, Jakub Jelinek via Gcc-patches wrote: On Sun, Nov 15, 2020 at 11:41:24PM +0100, Mark Wielaard wrote: On Tue, 2020-09-29 at 15:56 +0200, 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 wrot

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

2021-01-15 Thread Jakub Jelinek via Gcc-patches
On Sun, Nov 15, 2020 at 11:41:24PM +0100, Mark Wielaard wrote: > On Tue, 2020-09-29 at 15:56 +0200, 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/g

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

2020-11-16 Thread Jeff Law via Gcc-patches
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

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

2020-11-15 Thread Mark Wielaard
On Tue, 2020-09-29 at 15:56 +0200, 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. > > > @opinde

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

2020-09-29 Thread Mark Wielaard
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

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

2020-09-10 Thread Jakub Jelinek via Gcc-patches
On Thu, Sep 10, 2020 at 01:16:57PM +0200, Jakub Jelinek via Gcc-patches wrote: > As for the test assembly, I'd say we should take > #define F void foo (void) {} > F > compile it with > gcc -S -O2 -g1 -dA -gno-as-loc-support -fno-merge-debug-strings > remove .cfi_* directives, remove the ret instruc

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

2020-09-10 Thread Jakub Jelinek via Gcc-patches
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

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

2020-09-09 Thread Mark Wielaard
Hi, I added some fixes to binutils gas to make sure that it always generates DWARF5 style .debug_rnglists and .debug_line with .debug_line_str which are more efficient than the older .debug_ranges and .debug_line data. There is also a pending patch to make it possible to always pass --gdwarf-N to

Re: BoF DWARF5 patches

2020-08-25 Thread Mark Wielaard
Hi, On Mon, 2020-08-24 at 14:56 +0200, Mark Wielaard wrote: > This afternoon there will be a BoF at the virtual Cauldron about > DWARF5 and beyond. > https://linuxplumbersconf.org/event/7/contributions/746/ > > Here are some patches for GCC that I would like to discuss. > I'll reply to them afte