Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 1997 20:42:13 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Josh MacDonald <jmacd@CS.Berkeley.EDU>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: demangling cplusplus names in ld output
Message-ID:  <Pine.OSF.3.95.970105204116.9375B-100000@ginger.eng.umd.edu>
In-Reply-To: <199701060059.QAA27318@paris.CS.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 5 Jan 1997, Josh MacDonald wrote:

> 
> I can't remember if FreeBSD's ld ever did demangle cpluplus names
> in its output, but I took a look in the source directory today and
> saw an extremenly old version of cplus-dem.c that was not even 
> being linked with the ld sources and probably wouldn't do much good
> if it did.
> 
> I certainly find it desirable, does anyone else?  I've made the 
> neccesary modifications.  It involves wrapping a function call
> around the symbol->name field of each output statement, one small
> new function, and linking in the file cplus-dem.c from the gcc 
> sources.  
> 
> Another approach requiring fewer modifications would be to fork a 
> c++filt and pipe the output.
> 
> I am willing to make either of these modifications (I'd have to go
> over my current sources with a little more scrutiny to make sure
> I didn't break it).

Peter Wemm set up c++filt on it's own, it's already part of current.

> 
> -josh
> 

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and picnic, both FreeBSD
(301) 220-2114              | version 3.0 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.970105204116.9375B-100000>