[Issue 22468] DWARF: dchar type is missing encoding

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 9 14:17:20 UTC 2021


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

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 #13254 "backend: dwarfdbginf: add UTF encoding to dchar
types" was merged into master:

- a7195f830c89cd1b844a80b9905fa8f79e179287 by Luís Ferreira:
  backend: dwarfdbginf: add UTF encoding to dchar types

  Currently `dchar` types are exported as signed encoding which is wrong,
because
  `dchar` is supposed to represent UTF-32 encoded characters, so we should
export
  the right encoding to the debug info.

  Fixes #22468 .

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

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

--


More information about the Digitalmars-d-bugs mailing list