www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18147] New: Debug information limited in size

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

          Issue ID: 18147
           Summary: Debug information limited in size
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: alphaglosined gmail.com

Too large of debug information causes:

Internal error: ddmd\backend\cgcv.c 213

This can be generated by code along the lines of (the GC struct):
https://github.com/Devisualization/bindings/blob/master/source/opengl/devisualization/bindings/opengl/gl.d

Removing -debug allows the code to build. For dub this is --build=plain.

Disabling debug info would be fine in this case, however I am sure there is a
better solution.

--
Dec 30 2017