https://issues.dlang.org/show_bug.cgi?id=15831
Martin Nowak <c...@dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |c...@dawg.eu --- Comment #13 from Martin Nowak <c...@dawg.eu> --- It's an important issue and should be addressed. Let's work on that for 2.073 which is scheduled for the end of 2016. Because this will impact many tools in D's ecosystem, we need to proper plan how to mitigate the impact. A few points. - Need to talk to Iain to update gdb's D demangler. This will take ages to upstream and end up in distributions. Maybe we can should the backref mangling to only very long names in the beginning? Those are unreadable already and not showing them would rather fix a few GUIs. - Should we also try to address other mangling issues? Some things like the ambiguity are annoying but not that problematic. Also mixing in other changes will only increase the impact and make it harder to release. FWIW this is also not a "new" mangling but an abbreviation of the existing one. - We need to fix all our toolings and libraries. There are some functions in druntime&phobos that build mangled names (e.g. for loading shared library symbols). At best we can just implement the backref scheme in core.demangle.mangle and reuse the in phobos. We also ship the ddemangle tool and there are other debuggers (at least the maintained ones need updates). - OT: I'd like to see a similar abbreviation scheme for core.demangle.demangle, b/c the full template names in backtraces aren't readable either. Would be nicer to have something along the line of `func!(Symbol!(Foo, @2))`. --