This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

name mangle function?


Hello,

I would like to use dlopen/dlsym to build a middleware layer on top
of a shared object library linked from C++ source.  The most convenient
thing I can think of (other suggestions appreciated, of course),
would be to have access to a function that, given a class/method in the
C++ source, will give me a null terminated string representing the
mangled symbol name as produced by the compiler.
Is there such a function in gcc?  

Apologies if this is documented elsewhere.  I've searched around for a
few hours, didn't spot it.

Thanks,
Steve

-- 
===================================
Steven B. Boswell, Ph.D.
BBN Technologies
10 Moulton Street
Cambridge, MA 02138

617-873-5284 (voice and voicemail)
617-873-2794 (fax)

sboswell@bbn.com
===================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]