Re: DMD flag -gs and -gx

2016-05-13 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 13 May 2016 at 10:19:04 UTC, Nordlöw wrote: -gsalways emit stack frame IIRC, not emitting a stack frame is an optimization which confuses debuggers. So I think this can be used to make optimized builds a bit easier to debug. -gxadd stack stomp code

DMD flag -gs and -gx

2016-05-13 Thread Nordlöw via Digitalmars-d-learn
What role does the DMD flags -gs and -gx play? The documentation says -gsalways emit stack frame -gxadd stack stomp code which I don't know what it means.