Re: [Development] Using dwz on Qt

2020-05-17 Thread Lisandro Damián Nicanor Pérez Meyer
Hi! On Thu, 14 May 2020 at 19:49, Thiago Macieira wrote: > > On Thursday, 14 May 2020 13:24:06 PDT Lisandro Damián Nicanor Pérez Meyer > wrote: > > > I recently discovered there is a binutils tools for size optimizing dwarf > > > debug symbols, and it really works. When applied to Qt debug

Re: [Development] Using dwz on Qt

2020-05-14 Thread Thiago Macieira
On Thursday, 14 May 2020 13:24:06 PDT Lisandro Damián Nicanor Pérez Meyer wrote: > > I recently discovered there is a binutils tools for size optimizing dwarf > > debug symbols, and it really works. When applied to Qt debug symbol > > binaries it makes them about 25% smaller on average (some up

Re: [Development] Using dwz on Qt

2020-05-14 Thread Lisandro Damián Nicanor Pérez Meyer
Hi! On Thu, 14 May 2020 at 07:33, Allan Sandfeld Jensen wrote: > > Hi Qt > > I recently discovered there is a binutils tools for size optimizing dwarf > debug symbols, and it really works. When applied to Qt debug symbol binaries > it makes them about 25% smaller on average (some up to 40%

Re: [Development] Using dwz on Qt

2020-05-14 Thread Alexandru Croitor
Hi, I haven't looked too much into the details, but quickly looking over Konstantin's code in OptionsQt.cmake, we already do something similar in https://code.qt.io/cgit/qt/qtbase.git/tree/cmake/QtSeparateDebugInfo.cmake#n62 So i assume it should be straightforward to add dwz support. > On

Re: [Development] Using dwz on Qt

2020-05-14 Thread Konstantin Tokarev
14.05.2020, 13:34, "Allan Sandfeld Jensen" : > Hi Qt > > I recently discovered there is a binutils tools for size optimizing dwarf > debug symbols, and it really works. When applied to Qt debug symbol binaries > it makes them about 25% smaller on average (some up to 40% smaller). And that > is

[Development] Using dwz on Qt

2020-05-14 Thread Allan Sandfeld Jensen
Hi Qt I recently discovered there is a binutils tools for size optimizing dwarf debug symbols, and it really works. When applied to Qt debug symbol binaries it makes them about 25% smaller on average (some up to 40% smaller). And that is just the simple optimization. We can save more by