[cfe-dev] Accessibility of name mangling utilities

Anton Lokhmotov Anton.Lokhmotov at arm.com
Wed May 12 04:29:35 PDT 2010


> In our application we would like to reuse part of the name mangling
> utilities provided by clang.

Yes, that would be good but I guess would require more re-engineering than
simply moving the corresponding header files.  When I needed to use name
mangling, I had to reverse engineer the current implementation for the cases
I cared about and re-implement it from scratch.

Anton/L.

> ------------------------------
> 
> Message: 3
> Date: Wed, 05 May 2010 11:47:30 +0200
> From: Enea Zaffanella <zaffanella at cs.unipr.it>
> Subject: [cfe-dev].
> To: "cfe-dev at cs.uiuc.edu" <cfe-dev at cs.uiuc.edu>
> Message-ID: <4BE13EB2.4070200 at cs.unipr.it>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hello.
> 
> In our application we would like to reuse part of the name mangling
> utilities provided by clang. We saw in the developer documentation that
> a class providing appropriate entry points (clang::MangleContext) is
> defined in lib/CodeGen/Mangle.h and therefore is not accessible from
> code using clang as a library.
> 
> Would it be possible to move header files lib/CodeGen/Mangle.h and
> lib/CodeGen/CGCXX.h into directory include/clang/CodeGen?
> 
> Regards,
> Enea Zaffanella.





More information about the cfe-dev mailing list