[cfe-dev] Targeting ARM with Clang

Howard Hinnant hhinnant at apple.com
Wed Mar 30 07:58:08 PDT 2011


On Mar 30, 2011, at 9:40 AM, David Chisnall wrote:

> Hi Howard,
> 
> On 30 Mar 2011, at 14:07, Howard Hinnant wrote:
> 
>> I've been working on a clean-sheet replacement for:
>> 
>> char* __cxa_demangle(const char* mangled_name,
>> 				   char* buf,
>> 				   size_t* n,
>> 				   int* status);
> 
> 
> Code to do this for the ARM mangling scheme, as well as the GNU v2 and v3 schemes, already exists in the elftoolchain project, under a BSD license.  They're part of the libelftc library, designed to be used by various tools.
> 
> We used them via a very small wrapper to implement the __cxa_demangle() in a libsupc++ replacement without any problems.  
> 
> David

That's good to know, thanks!

-Howard




More information about the cfe-dev mailing list