[Issue 8578] New: std.demangle.demangle does not parse symbols that are type names
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 21 18:29:13 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8578
Summary: std.demangle.demangle does not parse symbols that are
type names
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: sturtivant at gmail.com
--- Comment #0 from Carl Sturtivant <sturtivant at gmail.com> 2012-08-21 18:29:06 PDT ---
Use of demangle from std.demangle or core.demangle on the mangled
names in an object or library generated by dmd works only on the
names of functions, and not on the names of types embedded in
such objects and libraries.
e.g. the following names are not demangled, being type names
(ending in Z).
_D13libd_demangle12__ModuleInfoZ
_D15TypeInfo_Struct6__vtblZ
_D3std5stdio12__ModuleInfoZ
_D3std6traits15__T8DemangleTkZ8Demangle6__initZ
_D47TypeInfo_S3std6traits15__T8DemangleTkZ8Demangle6__initZ
Opinion: D should do the right thing and have the facility to
demangle all of its own mangled names; no-one else will.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list