[m-dev.] Name demangling

Zoltan Somogyi zs at cs.mu.OZ.AU
Wed Sep 1 15:15:23 AEST 2004


On 01-Sep-2004, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> I've changed the name of compiler generated forwarding predicates for
> unification etc. to __Unify__<typename>/<typearity> and need to fix the
> demanglers so they recognise the new format.  However, I'm stuck on how
> to test my change to the demanglers because I don't know what these
> names are turned into during generation.  Looking at the source code for
> a couple of hours has not been much use (the name mangling scheme is not
> a little hairy.)

Put a breakpoint on proc_label_to_c_string, and see what it returns in typical
cases.

If you need more help than that, the best way would to come see me in person.

Zoltan.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list