[LLVMdev] clang change function name
sguelton at quarkslab.com
Mon Mar 2 01:03:32 PST 2015
On Mon, Mar 02, 2015 at 12:12:34AM -0500, John Criswell wrote:
> On 3/2/15 12:07 AM, Haopeng Liu wrote:
> >Got it, thanks. But in my pass, I use function name to locate. Can I
> >disable mangling in clang?
> No, but you can probably fine a library that can either mangle the original
> name or demangle the name you're seeing in the LLVM bitcode.
> As an FYI, on Unix, the c++filt program will demangle names (although
> sometimes you have to remove an extra '_' from the front of the name to get
> it to work).
there's also a __cxa_demangle function in
More information about the llvm-dev