🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #496

Name Distortion Scheme Needed

#496
From: Michael Tiemann
Date: Wed, 06 Mar 1991 16:42
33 lines
1551 bytes
   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 <std/disclaimer.h>

This is exactly what the function cplus_demangle does in cplus-dem.c

Michael
Technical Details
Message-ID: <9103061642.AA02129@teacake.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!uunet!tut.cis.ohio-state.edu!unreplyable!garbage
References: <1991Mar5.213937.12247@agate.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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