[LLVMdev] C++ Name mangling

Reid Kleckner rnk at google.com
Thu May 9 05:52:55 PDT 2013

No, the LLVM Mangler class really only does low-level manglings like
'_' prefixing, stdcall mangling on Windows, and escaping funny

The Clang mangler, however, does what you want.  But, you'll need to
feed it a clang AST in order to get a name out.  Depending on the
parameters of your function, this may be easy or hard.

On Thu, May 9, 2013 at 8:38 AM, B B <blackbox.dev.ml at gmail.com> wrote:
> Hi,
> I'm trying to find a solution to the following problem: I need to generate a
> mangled name for given C++ function.  Could I use llvm Mangler class for it?
> Regards,
> Blackbox dev team
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list