[Issue 15432] Win64: bad code offset in debug line number info

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Dec 11 03:14:25 PST 2015


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

yazan.dabain at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yazan.dabain at gmail.com

--- Comment #1 from yazan.dabain at gmail.com ---
I understand that you are talking about the debug symbols, right? If so, the
following is not the cause of this bug.

This bug reminded me of a change I made in the stack trace addresses generation
(https://github.com/D-Programming-Language/druntime/commit/8822115bc8d52fa61c15cef38fe77349f18747b9)
that I did not test the effect of on Windows.

I made this change so that the addresses coming from the stack trace point
before the return address (i.e. to point at the call instruction even though it
most probably won't point at the start of it). I don't know if the address to
line handler on Windows produces correct mappings for such addresses.

--


More information about the Digitalmars-d-bugs mailing list