wchar_t currently reports DECL coordinates for the first line of the first file, which is wrong.
Comment #1 by dlang-bot — 2021-11-01T19:11:30Z
@ljmf00 updated dlang/dmd pull request #13247 "backend: dwarfdbginf: Remove artificial attributes on wchar_t typedef" fixing this issue:
- backend: dwarfdbginf: Remove artificial attributes on wchar_t typedef
According to DWARF, declaration coordinates are not mandatory and wchar_t is
currently an artificial typedef. We should not generate DECL attributes for
such artificial TAGs.
Fixes #22467 .
Signed-off-by: Luís Ferreira <[email protected]>
https://github.com/dlang/dmd/pull/13247
Comment #2 by dlang-bot — 2021-11-05T07:10:15Z
dlang/dmd pull request #13247 "backend: dwarfdbginf: Remove artificial attributes on wchar_t typedef" was merged into master:
- 9295f90dcb04fd00c7b50cc3b50837f1259990ad by Luís Ferreira:
backend: dwarfdbginf: Remove artificial attributes on wchar_t typedef
According to DWARF, declaration coordinates are not mandatory and wchar_t is
currently an artificial typedef. We should not generate DECL attributes for
such artificial TAGs.
Fixes #22467 .
Signed-off-by: Luís Ferreira <[email protected]>
https://github.com/dlang/dmd/pull/13247