[LLVMdev] How to demange C++ names

Richard Pennington rich at pennware.com
Fri Aug 27 12:01:33 PDT 2010


On 08/27/2010 01:43 PM, Xiaolong Tang wrote:
[snip]
>    c++filt _ZNSt4listIiSaIiEEaSERKS1_
>
> The output remains the same as the input symbol.
>
> By the way, when I run
>
>    c++filt -v
>
> It outputs:
>
>    GNU c++filt 070207 20070207
>    Copyright 2005 Free Software Foundation, Inc.
>    This program is free software; you may redistribute it under the terms of
>    the GNU General Public License.  This program has absolutely no warranty.
[snip]

Here's what I get:

main% c++filt _ZNSt4listIiSaIiEEaSERKS1_
std::list<int, std::allocator<int> >::operator=(std::list<int, 
std::allocator<int> > const&)
[~/ecc/llvm/lib/Target/Mips] main% c++filt -v
GNU c++filt version 2.19.51.0.14-37.fc12 20090722
Copyright 2008 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later 
version.
This program has absolutely no warranty.



More information about the llvm-dev mailing list