Re: [PATCH][libbacktrace] Handle DW_FORM_GNU_strp_alt

2018-11-21 Thread Tom de Vries
On 21-11-18 02:03, Ian Lance Taylor wrote: > On Wed, Nov 14, 2018 at 6:45 AM, Tom de Vries wrote: >> On 14-11-18 14:25, Jakub Jelinek wrote: >>> On Wed, Nov 14, 2018 at 02:08:05PM +0100, Tom de Vries wrote: > +btest_dwz_CFLAGS = $(AM_CFLAGS) -g -O0 Hmm, I already discovered that spec

Re: [PATCH][libbacktrace] Handle DW_FORM_GNU_strp_alt

2018-11-20 Thread Ian Lance Taylor
On Wed, Nov 14, 2018 at 6:45 AM, Tom de Vries wrote: > On 14-11-18 14:25, Jakub Jelinek wrote: >> On Wed, Nov 14, 2018 at 02:08:05PM +0100, Tom de Vries wrote: +btest_dwz_CFLAGS = $(AM_CFLAGS) -g -O0 >>> >>> Hmm, I already discovered that specifying the -O0 doesn't work, since >>> it's overri

Re: [PATCH][libbacktrace] Handle DW_FORM_GNU_strp_alt

2018-11-14 Thread Tom de Vries
On 14-11-18 14:25, Jakub Jelinek wrote: > On Wed, Nov 14, 2018 at 02:08:05PM +0100, Tom de Vries wrote: >>> +btest_dwz_CFLAGS = $(AM_CFLAGS) -g -O0 >> >> Hmm, I already discovered that specifying the -O0 doesn't work, since >> it's overridden by $(CFLAGS). >> >> With a hack like this: >> ... >> dif

Re: [PATCH][libbacktrace] Handle DW_FORM_GNU_strp_alt

2018-11-14 Thread Jakub Jelinek
On Wed, Nov 14, 2018 at 02:08:05PM +0100, Tom de Vries wrote: > > +btest_dwz_CFLAGS = $(AM_CFLAGS) -g -O0 > > Hmm, I already discovered that specifying the -O0 doesn't work, since > it's overridden by $(CFLAGS). > > With a hack like this: > ... > diff --git a/libbacktrace/Makefile.am b/libbacktra

Re: [PATCH][libbacktrace] Handle DW_FORM_GNU_strp_alt

2018-11-14 Thread Tom de Vries
On 13-11-18 14:42, Tom de Vries wrote: > diff --git a/libbacktrace/Makefile.am b/libbacktrace/Makefile.am > index 3c1bd49dd7b..2fec9bbb4b6 100644 > --- a/libbacktrace/Makefile.am > +++ b/libbacktrace/Makefile.am > @@ -96,6 +96,28 @@ btest_LDADD = libbacktrace.la > > check_PROGRAMS += btest > >

[PATCH][libbacktrace] Handle DW_FORM_GNU_strp_alt

2018-11-13 Thread Tom de Vries
Hi, The dwz tool attempts to optimize DWARF debugging information contained in ELF shared libraries and ELF executables for size. With the dwz -m option, it attempts to optimize by moving DWARF debugging information entries (DIEs), strings and macro descriptions duplicated in more than one object