[LLVMdev] C++ Mangled Names

Aaron Gray aaronngray.lists at gmail.com
Fri Feb 18 13:23:13 PST 2011


On 15 February 2011 08:10, Patrick Simmons <simmon12 at illinois.edu> wrote:

> I have encountered a need for manually generating the mangled name of an
> arbitrary C++ function.  The only way I currently know how to do this is
> to generate a dummy C++ source file, compile it, and look at the
> output.  This approach is so ugly that I would like for it never to see
> the light of day.  The c++filt tool generates demangled C++ names given
> the mangled ones, which is the opposite of what I want to do.  Does
> anyone know how to "run c++filt in reverse"?
>

It would be lovely to have a declspec that adds an additional user given
to label routines if required.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110218/77952018/attachment.html>


More information about the llvm-dev mailing list