[cfe-dev] C++ name mangling support

Nico Weber thakis at chromium.org
Tue Feb 17 08:24:02 PST 2015


MangleContext in AST is where the mangling code lives. Look
at include/clang/AST/Mangle.h for the interface, and
lib/AST/ItaniumMangle.cpp and lib/AST/MicrosoftMangle.cpp for most of the
implementation.

On Tue, Feb 17, 2015 at 7:20 AM, Jan-Patrick Lehr <
my.new.social.email at gmail.com> wrote:

> Hi all,
> I am fairly new to the clang and llvm world and searched for a way to get
> the mangled names for c++ constructs in clang. I found something in
> CodeGen/CodeGenModule and wonder whether this is the only way to get the
> mangled name.
>
> So my question is: What is the cleanest way to get the mangled name of a
> c++ function / member function et cetera? Or where to look for such
> functionality?
>
> Thanks for your answers.
> Cheers,
> JP
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150217/06dfa062/attachment.html>


More information about the cfe-dev mailing list