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

          Issue ID: 22471
           Summary: DWARF: generated main is not marked as
                    DW_AT_artificial
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

According to DWARF standard:
> Any debugging information entry representing the declaration of an object or
> type artificially generated by a compiler and not explicitly declared by the 
> source
> program may have a DW_AT_artificial attribute, which is a flag.

This is the case when `-main` flag is passed to the compiler.

--

Reply via email to