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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Nov 17 01:03:06 PST 2014


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

--- Comment #10 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
(In reply to Martin Nowak from comment #8)
> The encode in great detail how to unwind from the stack, which is a
> requirement for nearly-zero-overhead exceptions. For example you don't have
> to move all registers to the stack like dmd does currently.

AFAIK, DWARF works on function level, but ability to find stack without frame
pointer requires working on instruction level. It's also completely ignorant
about hardware exceptions, which happen on instruction level too.

--


More information about the Digitalmars-d-bugs mailing list