Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 1997 16:59:03 -0800 (PST)
From:      Josh MacDonald <jmacd@CS.Berkeley.EDU>
To:        freebsd-hackers@freebsd.org
Subject:   demangling cplusplus names in ld output
Message-ID:  <199701060059.QAA27318@paris.CS.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help

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).

-josh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701060059.QAA27318>