This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[google] Cherry pick r179209 to add demangler support for cloned functions
- From: Cary Coutant <ccoutant at google dot com>
- To: Diego Novillo <dnovillo at google dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 Sep 2011 11:21:05 -0700
- Subject: [google] Cherry pick r179209 to add demangler support for cloned functions
OK to cherry-pick r179209 from gcc-4_6-branch to google/gcc-4_6?
http://gcc.gnu.org/ml/gcc-cvs/2011-09/msg00828.html
-cary
include/ChangeLog:
PR 40831
* demangle.h (enum demangle_component_type): Add
DEMANGLE_COMPONENT_CLONE.
libiberty/ChangeLog:
PR 40831
* cp-demangle.c (d_make_comp): Add new component type.
(cplus_demangle_mangled_name): Check for clone suffixes.
(d_parmlist): Don't error out if we see '.'.
(d_clone_suffix): New function.
(d_print_comp): Print info for clone suffixes.
* testsuite/demangle-expected: Add new testcases.