[Issue 22459] DWARF: delegate type names should be distinguishable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 31 23:20:06 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22459
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 #13241 "backend: dwarfdbginf: use distinguishable type
names for delegate types" was merged into master:
- 20d6bdee4a5bae683d5c8cf96aab18a8978ccd87 by Luís Ferreira:
backend: dwarfdbginf: use distinguishable type names for delegate types
According to the specification, the memory layout for delegates have the
context pointer as `ptr` instead of `ctxptr` and this also matches the
compiler
behaviour so debug info should also report correct member names.
Delegates are currently reported as `_Delegate` which is not distinguishable
among other delegate types with different return types and parameters, so
name
these types with their qualified name is desirable.
Fixes #22459.
Signed-off-by: Luís Ferreira <contact at lsferreira.net>
https://github.com/dlang/dmd/pull/13241
--
More information about the Digitalmars-d-bugs
mailing list