Xref: utzoo gnu.g++.help:566 comp.lang.c++:12050 Path: utzoo!utgpu!watserv1!watmath!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: tiemann@eng.sun.com (Michael Tiemann) Newsgroups: gnu.g++.help,comp.lang.c++ Subject: Name Distortion Scheme Needed Message-ID: <9103061642.AA02129@teacake.Eng.Sun.COM> Date: 6 Mar 91 16:42:32 GMT References: <1991Mar5.213937.12247@agate.berkeley.edu> Sender: daemon@tut.cis.ohio-state.edu Reply-To: tiemann@cygnus.com Followup-To: gnu.g++.help Organization: Cygnus Support (+1 415 322 3811) Lines: 33 Date: 5 Mar 91 21:39:37 GMT From: labc-1ia@web-3c.berkeley.edu (Andrew M. Choi) Organization: University of California, Berkeley References: <1991Mar4.214401.2267@agate.berkeley.edu>, <9103051732.AA00859@teacake.Eng.Sun.COM> Sender: help-g++-request@prep.ai.mit.edu tiemann@cygnus.com writes: > >> Hi. Would someone please tell me where I can find >> information about the function name distortion scheme used >> by g++-1.37.2? Furthermore, does anyone know for sure if >> this scheme will be used in (near) future versions of >> g++? > >g++/cplus-dem.c > >Michael That's great ... thanks a lot, however ...... how do you go the other way? That is, given the string "_foo__1Ai", it should return "A::foo(int)" Again, thanks for the help. Name: Andrew Choi Internet Addr: achoi@cory.berkeley.edu Tel: (415)848-5658 #include This is exactly what the function cplus_demangle does in cplus-dem.c Michael