[Issue 22848] DWARF .debug_line section should be generated to conform with DW_AT_stmt_list bounds

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 4 21:44:33 UTC 2022


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13757 "Fix issue 22848: DWARF .debug_line section
should be always generated" was merged into master:

- 149ee468b3a39ec920664232e271333302c1a9dc by Luís Ferreira:
  Fix issue 22848: DWARF .debug_line section should be always generated

  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.

  This change reverts d72827c39c273162966d90e64daa414c42e325c0, an old bug on
OSX
  ld64-77.

  Related to issue 3502.

  Signed-off-by: Luís Ferreira <contact at lsferreira.net>

https://github.com/dlang/dmd/pull/13757

--


More information about the Digitalmars-d-bugs mailing list