diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2013-10-11 17:31:18 -0700 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@gcc.gnu.org> | 2013-10-11 17:31:18 -0700 |
commit | ea0882a0ab42b96102df1b0a7cae751022191c78 (patch) | |
tree | fee65b1f743d8faef3e1d12622eff8714927e8ff /libiberty | |
parent | 5954261c4d5ccccd1a6d827fb4c4219cf53382fe (diff) | |
download | gcc-ea0882a0ab42b96102df1b0a7cae751022191c78.zip gcc-ea0882a0ab42b96102df1b0a7cae751022191c78.tar.gz gcc-ea0882a0ab42b96102df1b0a7cae751022191c78.tar.bz2 |
cp-demangle.c (d_name): Demangle local-source-names.
2013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com>
* cp-demangle.c (d_name): Demangle local-source-names.
* testsuite/demangle-expected: New test.
From-SVN: r203476
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/cp-demangle.c | 2 | ||||
-rw-r--r-- | libiberty/testsuite/demangle-expected | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 89e108a..c37939c 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com> + + * cp-demangle.c (d_name): Demangle local-source-names. + * testsuite/demangle-expected: New test. + 2013-09-10 Paolo Carlini <paolo.carlini@oracle.com> PR bootstrap/58386 diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index 70f5438..0398982 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -1276,7 +1276,6 @@ d_name (struct d_info *di) case 'Z': return d_local_name (di); - case 'L': case 'U': return d_unqualified_name (di); @@ -1323,6 +1322,7 @@ d_name (struct d_info *di) return dc; } + case 'L': default: dc = d_unqualified_name (di); if (d_peek_char (di) == 'I') diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 1259e4a..b0bfcbb 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -4291,3 +4291,6 @@ void m<void () &&>(void (A::*)() &&) --format=gnu-v3 _Z1nIM1AKFvvREEvT_ void n<void (A::*)() const &>(void (A::*)() const &) +--format=gnu-v3 +_ZL1fIiEvv +void f<int>() |