Patch to add support for debugging info for ref args to function pointers
text/plain
268
Comments
Comment #0 by robert — 2010-04-01T12:19:03Z
The following test case:
----
void function(ref int) foobar;
void main(){}
----
Causes dmd to produce invalid debug info. There is no case for TYref, so it defaults to 0, and that is never valid for a DW_AT_type.
Comment #1 by robert — 2010-04-01T12:38:07Z
Created attachment 596
Patch to add support for debugging info for ref args to function pointers
Simple patch, just make ref args behave like pointers.
Comment #2 by robert — 2010-04-07T13:39:13Z
Comment on attachment 596
Patch to add support for debugging info for ref args to function pointers
This patch has been included with the new patch in bug #3987.