Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binutils' c++filt can demangle a symbol but ianlancetaylor/demangle cannot #6

Closed
aalexand opened this issue Nov 2, 2018 · 1 comment

Comments

@aalexand
Copy link
Contributor

aalexand commented Nov 2, 2018

$ c++filt _ZN3___4____10__________IN8________8________16________________INS3_21_____________________EEEECI2NS0_28____________________________IS5_EEIRK12____________IcSt11___________IcESaIcEEvEEOT_
___::____::__________<________::________::________________<________::________::_____________________> >::____________________________<____________<char, std::___________<char>, std::allocator<char> > const&, void>(____________<char, std::___________<char>, std::allocator<char> > const&)

$ go run c++filt.go
_ZN3___4____10__________IN8________8________16________________INS3_21_____________________EEEECI2NS0_28____________________________IS5_EEIRK12____________IcSt11___________IcESaIcEEvEEOT_
_ZN3___4____10__________IN8________8________16________________INS3_21_____________________EEEECI2NS0_28____________________________IS5_EEIRK12____________IcSt11___________IcESaIcEEvEEOT_
^Csignal: interrupt

$ c++filt --version
GNU c++filt (GNU Binutils for Debian) 2.30
Copyright (C) 2018 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.

@ianlancetaylor
Copy link
Owner

This particular set of symbols (inheriting constructors, the "CI" that appears in the string) is fixed by commit 5e5cf60 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants