|
From: Nicholas N. <nj...@cs...> - 2005-05-17 12:34:52
|
On Tue, 17 May 2005, Tom Hughes wrote: >>>> _ZNSt8_Rb_treeIPKcSt4pairIKS1_N5iwear14iwear_languageEESt10_Select1stIS6_ >>>> ENS4_12cstring_lessESaIS6_EEC1ERKS9_RKSA_ (stl_tree.h:730) >>>> >>>> _GLOBAL__I__ZN5iwear4i18n17locale_code_tableE (stl_map.h:120) > > My one can sort of handle the second one: > > dellow [~] % c++filt > _GLOBAL__I__ZN5iwear4i18n17locale_code_tableE > global constructors keyed to _ZN5iwear4i18n17locale_code_tableE And mine can handle the first, but not the second: [~] c++filt _ZNSt8_Rb_treeIPKcSt4pairIKS1_N5iwear14iwear_languageEESt10_Select1stIS6_ENS4_12cstring_lessESaIS6_EEC1ERKS9_RKSA_ std::_Rb_tree<char const*, std::pair<char const* const, iwear::iwear_language>, std::_Select1st<std::pair<char const* const, iwear::iwear_language> >, iwear::cstring_less, std::allocator<std::pair<char const* const, iwear::iwear_language> > >::_Rb_tree[in-charge](iwear::cstring_less const&, std::allocator<std::pair<char const* const, iwear::iwear_language> > const&) _GLOBAL__I__ZN5iwear4i18n17locale_code_tableE _GLOBAL__I__ZN5iwear4i18n17locale_code_tableE I'm using GNU c++filt (C++ demangler), version 2.12.90.0.1 > Of course valgrind's copy of the demangler is fairly old now so we > might need to update it at some point. That could be it. Dennis, are you interested in taking a look to see if that's the case, ie. how it compares with an up-to-date GNU demangler? If you look at the 2.4 repository at KDE, look in coregrind/demangle/. If you look at the 3.0 repository at valgrind.org, look in coregrind/m_demangle/. The code within those directories is largely just a cut-and-paste job of the GNU demangler code, I believe. It might be instructive to first start by diff'ing Valgrind's code against the demangler code. Thanks. N |