www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22848] New: DWARF .debug_line section should be generated to

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

          Issue ID: 22848
           Summary: DWARF .debug_line section should be generated to
                    conform with DW_AT_stmt_list bounds
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: contact lsferreira.net

The current DWARF generator doesn't generate .debug_line section if there is no
entries in the line table, although, to conform with DWARF standard and, in
order to readers read it correctly, this section need to be present, even
though, empty.

--
Mar 04 2022