[Issue 13726] Build Phobos and Druntime with stack frames enabled (-gs)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Nov 13 17:37:57 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13726

--- Comment #9 from Vladimir Panteleev <thecybershadow at gmail.com> ---
I don't understand... I'm not sure what the scheme is on POSIX, but on Win32,
exception frames and stack frames are completely separate (they form two
distinct linked lists which do not overlap).

Last I checked, gdb was not satisfied with just -g, you still need to rebuild
Phobos/Druntime with -gs to get proper stack traces. I still don't understand
what this has to do with exception handling.

In either case, that only affects POSIX. The problem remains on Windows
(despite PDB files supposedly having enough information for proper stack traces
without stack frames).

--


More information about the Digitalmars-d-bugs mailing list