r214410 - Exposes a C API to name mangling for a given cursor.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Aug 1 06:26:08 PDT 2014


>> With the approach of using the backend mangler, you wouldn't need to
>> strip the \01 prefix because the backend mangler does that anyway (see
>> lib/IR/Mangler.cpp:105).
>>
>
> Yes, but this is not the path I'm going through - I don't have a LLVM
> GlobalValue. The Twine-accepting function doesn't do this stripping. See
> http://llvm.org/bugs/show_bug.cgi?id=20127 - I'd be able to simplify this
> code when it's fixed.

Cool. Nice to have a testcase for the patch in pr20127 :-)

Do you want me to apply it first?

Cheers,
Rafael



More information about the cfe-commits mailing list