This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
name mangle function?
- To: gcc at gcc dot gnu dot org
- Subject: name mangle function?
- From: Steve Boswell <sboswell at bbn dot com>
- Date: Mon, 11 Jun 2001 09:55:39 -0400
- Organization: BBN Technologies
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
===================================