www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22471] New: DWARF: generated main is not marked as


          Issue ID: 22471
           Summary: DWARF: generated main is not marked as
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: contact lsferreira.net

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
 program may have a DW_AT_artificial attribute, which is a flag.
This is the case when `-main` flag is passed to the compiler. --
Nov 03 2021