
On 25 Nov 2013 at 11:55, Gavin Lambert wrote:
On 25/11/2013 10:00, Quoth Niall Douglas:
I very much +1 this approach of embedding debug info straight into the DLLs. Sadly Microsoft appear to have removed the old /Zd flag for generation the absolute most smallest embedded debug info, so /Z7 is your only option remaining.
There's a good reason for them being separate: DLLs tend to be mapped almost directly into the process memory space, and debug information tends to be about 10x the size of the DLL itself. (And typically accessed more rarely/randomly.)
I can't say I care on 64 bit. Fair enough on 32 bit, hence my pain at the loss of /Zd in recent MSVCs. The extra debug info also makes the download quite a bit larger. Niall -- Currently unemployed and looking for work. Work Portfolio: http://careers.stackoverflow.com/nialldouglas/