Compiling optimized release build with debug info turns off optimizations?

David Nadlinger code at klickverbot.at
Wed Jan 1 12:10:05 PST 2014


Hi Kai,

On Wed, Jan 1, 2014 at 5:05 PM, Kai Nacke <kai at redstar.de> wrote:
> 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?

ldc2 -defaultlib=libphobos-ldc-asan -debuglib=libphobos-ldc-asan, or
something like that?

David


More information about the digitalmars-d-ldc mailing list