Re: D Symbol Demangling

Michael Snyder
2005-04-04T18:21:34Z

John Demme wrote:
> Thus far, I've had partial success. In fairly simple D programs, my
> demangling works, but in more complex programs with mixed C and D code
> (D is link-compatible with C) it only calls the D demangler for some of
> the functions.

What's the granularity of mixed code? Is it mixed within a source
file, or just between source files? If a source file contains only
one language, I think gdb ought to be able to discern it reliably.

When you say "for some of the functions", what differentiates
the ones where it successfully discerns the D language from those
where it doesn't?