March 04, 2022
https://issues.dlang.org/show_bug.cgi?id=22848

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ljmf00 created dlang/dmd pull request #13757 "Fix issue 22848: DWARF .debug_line section should be always generated" fixing this issue:

- 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.

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

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

--
March 04, 2022
https://issues.dlang.org/show_bug.cgi?id=22848

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

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

--- Comment #2 from Dlang Bot <dlang-bot@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@lsferreira.net>

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

--