|
Boost : |
Subject: Re: [boost] [build][msvc] create PDBs
From: Ahmed Charles (acharles_at_[hidden])
Date: 2013-07-24 00:20:16
The size difference is LTCG, not debug info.
________________________________
From: Daniela Engert
Sent: 7/23/2013 9:40 AM
To: boost_at_[hidden]
Subject: Re: [boost] [build][msvc] create PDBs
Am 23.07.2013 17:47, schrieb Andrey Semashev:
> On Tue, Jul 23, 2013 at 7:39 PM, Daniela Engert <dani_at_[hidden]> wrote:
>>
>> libboost_log_setup-vc120-mt-1_54.lib 188.671.120
>> libboost_log_setup-vc120-mt-1_54.pdb 132.616.192
>> libboost_log_setup-vc120-mt-gd-1_54.lib 220.099.308
>> libboost_log_setup-vc120-mt-gd-1_54.pdb 132.837.376
>> libboost_log-vc120-mt-1_54.lib 53.565.446
>> libboost_log-vc120-mt-1_54.pdb 7.942.144
>> libboost_log-vc120-mt-gd-1_54.lib 32.516.250
>> libboost_log-vc120-mt-gd-1_54.pdb 8.114.176
>>
>
> It looks like static libs contain debug info anyway as they are always
> larger than the generated pdb.
In many cases, your observed size relationship is true, but not in all
of them. E.g.:
libboost_exception-vc120-mt-1_54.lib 53.642
libboost_exception-vc120-mt-1_54.pdb 102.400
libboost_exception-vc120-mt-gd-1_54.lib 11.440
libboost_exception-vc120-mt-gd-1_54.pdb 102.400
To exhibit the size advantage of PDBs over 'old-style' debug info
embedded into static libs, I've rebuilt Boost.Log with link=static
debug-store=object. This is the result:
libboost_log_setup-vc120-mt-1_54.lib 343.234.460
libboost_log_setup-vc120-mt-gd-1_54.lib 374.488.888
libboost_log-vc120-mt-1_54.lib 79.564.296
libboost_log-vc120-mt-gd-1_54.lib 59.539.544
Ciao
Dani
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk