Compiling optimized release build with debug info turns off optimizations?

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


Hi David!

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

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?

Regards,
Kai


More information about the digitalmars-d-ldc mailing list