Bug 22469 – DWARF: some debug info types are named wrongly
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-11-02T01:47:52Z
Last change time
2022-01-10T14:34:24Z
Keywords
pull
Assigned to
No Owner
Creator
Luís Ferreira
Comments
Comment #0 by contact — 2021-11-02T01:47:52Z
The following types are named wrongly on the exported debug info:
wchar_t -> wchar
long double -> real
_Bool -> bool
long long -> long
uint long long -> ulong
imaginary float -> ifloat
imaginary double -> idouble
imaginary long double -> ireal
complex float -> cfloat
complex double -> cdouble
complex long double -> creal
These types should match the correct frontend language.
Comment #1 by dlang-bot — 2021-11-08T01:44:19Z
@ljmf00 created dlang/dmd pull request #13274 "backend: use correct type names for D" fixing this issue:
- backend: use correct type names for D
Since the backend is shared with DMC and DMD, type names should be different
when targeting the C or D compilers.
Fixes #22469.
Signed-off-by: Luís Ferreira <[email protected]>
https://github.com/dlang/dmd/pull/13274
Comment #2 by dlang-bot — 2022-01-10T14:34:24Z
dlang/dmd pull request #13274 "backend: use correct type names for D" was merged into master:
- a2b0cd75352fc4653d0b7b6079ceb9c1edf33ae5 by Luís Ferreira:
backend: use correct type names for D
Since the backend is shared with DMC and DMD, type names should be different
when targeting the C or D compilers.
Fixes #22469.
Signed-off-by: Luís Ferreira <[email protected]>
https://github.com/dlang/dmd/pull/13274