[Bug c++/40831] g++ generated symbols for cloned function that be demangled.
ccoutant at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 23 07:08:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40831
Cary Coutant <ccoutant at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot |ccoutant at gcc dot gnu.org
|gnu.org |
--- Comment #7 from Cary Coutant <ccoutant at gcc dot gnu.org> 2011-02-23 02:00:08 UTC ---
Created attachment 23439
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23439
Patch to add demangler support for cloned function symbols
include/ChangeLog:
PR 40831
* demangle.h (enum demangle_component_type): Add
DEMANGLE_COMPONENT_CLONE, DEMANGLE_COMPONENT_CONSTPROP_CLONE,
DEMANGLE_COMPONENT_ISRA_CLONE, DEMANGLE_COMPONENT_PART_CLONE.
libiberty/ChangeLog:
PR 40831
* cp-demangle.c (struct clone_suffix_list): New type.
(d_make_comp): Add new component types.
(cplus_demangle_mangled_name): Check for clone suffixes.
(d_parmlist): Don't error out if we see '.'.
(clone_suffixes): New array.
(d_clone_suffix): New function.
(d_print_comp): Print info for clone suffixes.
* testsuite/demangle-expected: Add new testcases.
More information about the Gcc-bugs
mailing list