Compiling optimized release build with debug info turns off optimizations?

Kai Nacke kai at
Wed Jan 1 08:05:09 PST 2014

Hi David!

On Monday, 23 December 2013 at 15:15:55 UTC, David Nadlinger 
> The issue is that currently -g links in a non-optimized build 
> of druntime/Phobos, which is probably not a good idea: 

The problem behind this issue can be generalized. E.g. I like to 
create a druntime/Phobos version compiled with the address 
sanitizer turned on. How do I link against this library?


More information about the digitalmars-d-ldc mailing list