diff options
author | Cary Coutant <ccoutant@google.com> | 2011-09-23 21:39:10 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@gcc.gnu.org> | 2011-09-23 14:39:10 -0700 |
commit | 2d2b02c4da9e66531c8e56703273f447fb8d49a9 (patch) | |
tree | 15a51ac15e7ce0086a84bdc115817b9d9fa14b3a /include | |
parent | d220e00d6b94811b290189c25454bdf07f0a994c (diff) | |
download | gcc-2d2b02c4da9e66531c8e56703273f447fb8d49a9.zip gcc-2d2b02c4da9e66531c8e56703273f447fb8d49a9.tar.gz gcc-2d2b02c4da9e66531c8e56703273f447fb8d49a9.tar.bz2 |
re PR c++/40831 (g++ generated symbols for cloned function that be demangled.)
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.
From-SVN: r179132
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/demangle.h | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 32f4c6f..63feb83 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2011-09-23 Cary Coutant <ccoutant@google.com> + + PR 40831 + * demangle.h (enum demangle_component_type): Add + DEMANGLE_COMPONENT_CLONE. + 2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * xregex.h (regoff_t): Define. diff --git a/include/demangle.h b/include/demangle.h index 53f6c54..960e88e 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -402,7 +402,9 @@ enum demangle_component_type /* An unnamed type. */ DEMANGLE_COMPONENT_UNNAMED_TYPE, /* A pack expansion. */ - DEMANGLE_COMPONENT_PACK_EXPANSION + DEMANGLE_COMPONENT_PACK_EXPANSION, + /* A cloned function. */ + DEMANGLE_COMPONENT_CLONE }; /* Types which are only used internally. */ |