Bug 11205 – CodeView: Missing debug info for thunks

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2013-10-09T04:45:19Z
Last change time
2024-12-13T18:12:21Z
Keywords
DebugInfo
Assigned to
No Owner
Creator
Aldo Nunez
Moved to GitHub: dmd#18689 →

Comments

Comment #0 by aldonunez1 — 2013-10-09T04:45:19Z
The compiler writes information about procedures in the CodeView debug data. But, it doesn't write anything about thunks that lead to procedures. Specifically, I find no S_THUNK32 records. For example, the compiler writes an adjustor thunk for interface methods that turn the this argument of the interface's method into the this argument of the class method that implements it. If there were information about thunks, then debuggers would know how long they are, so that the debuggers could step into the related procedures in source code mode.
Comment #1 by robert.schadek — 2024-12-13T18:12:21Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18689 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB