<div class="gmail_quote">On 15 February 2011 08:10, Patrick Simmons <span dir="ltr"><<a href="mailto:simmon12@illinois.edu">simmon12@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

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