Currently dchar types doesn't export type encoding. They should export UTF encoding to be properly handled by debuggers.
Comment #1 by dlang-bot — 2021-11-01T20:03:02Z
@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 <[email protected]>
https://github.com/dlang/dmd/pull/13254
Comment #2 by dlang-bot — 2021-11-09T14:17:20Z
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 <[email protected]>
https://github.com/dlang/dmd/pull/13254