From 1dc349e58c8f86234f4f88ed7bfee329ee493544 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sun, 10 Sep 2000 19:43:30 +0000 Subject: * testsuite/demangle-expected: Add four tests for type_info mangling. * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type, for a non-template non-qualified type_info function or node. --- libiberty/ChangeLog | 8 ++++++++ libiberty/cplus-dem.c | 2 +- libiberty/testsuite/demangle-expected | 16 ++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 99267f5520..27de2ac80c 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,11 @@ +2000-09-10 Hans-Peter Nilsson + + * testsuite/demangle-expected: Add four tests for type_info + mangling. + + * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type, + for a non-template non-qualified type_info function or node. + 2000-08-31 DJ Delorie * configure.in (Cygwin): special case cygwin only when we're diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 0611d76d0f..da951331d5 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/cplus-dem.c @@ -2873,7 +2873,7 @@ gnu_special (work, mangled, declp) success = demangle_template (work, mangled, declp, 0, 1, 1); break; default: - success = demangle_fund_type (work, mangled, declp); + success = do_type (work, mangled, declp); break; } if (success && **mangled != '\0') diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 0f947924a6..fb6448cffd 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -2542,3 +2542,19 @@ TA >::foo__bar___foobar___(void) --format=gnu foo__bar___foobar_____t2TA2ZiZt4N__A1i9 TA >::foo__bar___foobar___(void) +# +--format=gnu +__tfP8sockaddr +sockaddr * type_info function +# +--format=gnu +__tfPQ25libcwt16option_event_tct1Z12burst_app_ct +libcw::option_event_tct * type_info function +# +--format=gnu +__tiP8sockaddr +sockaddr * type_info node +# +--format=gnu +__tiPQ25libcwt16option_event_tct1Z12burst_app_ct +libcw::option_event_tct * type_info node -- cgit v1.2.1