[Issue 22590] New: importC: static functions have no debug information generated for them

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 12 19:16:33 UTC 2021


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

          Issue ID: 22590
           Summary: importC: static functions have no debug information
                    generated for them
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

When a SEGV occurs in a "C" static function, there's no debug information to
say what or why it occurred.

The workaround is to remove "static" from both declaration and definition.

--


More information about the Digitalmars-d-bugs mailing list