[Issue 22468] DWARF: dchar type is missing encoding

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 1 20:03:02 UTC 2021


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ljmf00 created dlang/dmd pull request #13254 "backend: dwarfdbginf: add UTF
encoding to dchar types" fixing this issue:

- 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