summaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
Commit message (Collapse)AuthorAgeFilesLines
* merge from gccDJ Delorie2013-02-151-1/+20
|
* merge from gccDJ Delorie2012-11-111-10/+42
|
* merge from gccDJ Delorie2012-10-101-0/+26
|
* merge from gccDJ Delorie2012-07-181-1/+31
|
* merge from gccDJ Delorie2012-05-221-0/+1
|
* merge from gccDJ Delorie2012-04-021-0/+5
|
* merge from gccDJ Delorie2012-03-081-1/+7
|
* merge from gccDJ Delorie2012-01-101-5/+8
|
* merge from gccDJ Delorie2012-01-061-79/+203
|
* merge from gccDJ Delorie2011-11-081-2/+45
|
* merge from gccDJ Delorie2011-11-041-3/+8
|
* merge from gccDJ Delorie2011-10-101-0/+24
|
* merge from gccDJ Delorie2011-09-231-3/+54
|
* merge from gccDJ Delorie2011-08-061-2/+12
|
* merge from gccDJ Delorie2011-07-261-1/+9
|
* merge from gccDJ Delorie2011-07-051-7/+23
|
* merge from gccJan Kratochvil2011-07-011-2/+55
| | | | | | | | | | | | | libiberty/ PR debug/49408 * cp-demangle.c (d_print_comp): Suppress argument list for function references by the '&' unary operator. Keep also already processed variant without the argument list. Suppress argument list types for function call used in an expression. * testsuite/demangle-expected: Fix excessive argument list types in `test for typed function in decltype'. New testcase for no argument list types printed. 3 new testcases for function references by the '&' unary operator..
* merge from gccDJ Delorie2011-06-221-3/+31
|
* merge from gccDJ Delorie2011-06-131-119/+124
|
* Properly demangle a global constructor symbol.H.J. Lu2010-11-161-1/+15
| | | | | | | | | | | 2010-11-16 H.J. Lu <hongjiu.lu@intel.com> PR other/42670 PR binutils/11137 * cp-demangle.c (d_make_demangle_mangled_name): New. (d_demangle_callback): Use it on DCT_GLOBAL_XTORS. * testsuite/demangle-expected: Updated.
* merge from gccDJ Delorie2010-11-131-6/+0
|
* 2010-09-10 James Lyon <jameslyon0@googlemail.com>Tom Tromey2010-09-101-0/+1
| | | | | | | http://sourceware.org/bugzilla/show_bug.cgi?id=11572 * cp-demangle.c (d_find_pack): Add case for DEMANGLE_COMPONENT_LAMBDA. * testsuite/demangle-expected: Add regression test.
* PR other/43838Jakub Jelinek2010-06-101-1/+11
| | | | | | | | | | * cp-demangle.c (struct d_print_info): Add flush_count field. (d_print_init): Initialize it to 0. (d_print_flush): Increment it. (d_print_comp): If needed flush before appending ", ". Only decrement dpi->len if no flushes happened during the recursive call. * testsuite/demangle-expected: Add a test for this.
* merge from gccDJ Delorie2010-05-061-0/+8
|
* merge from gccDJ Delorie2010-03-221-2/+2
|
* merge from gccDJ Delorie2010-02-031-10/+83
|
* merge from gccDJ Delorie2010-01-211-3/+12
|
* Return dgs.alc on successH.J. Lu2010-01-101-1/+1
| | | | | | | 2010-01-09 Ian Lance Taylor <iant@google.com> PR other/42230 * cp-demangle.c (d_demangle): Return dgs.alc on success.
* manually sync from the CVS repositoryJim Meyering2009-10-081-61/+238
|
* merge from gccDJ Delorie2009-07-171-18/+43
|
* merge from gccDJ Delorie2009-05-191-4/+4
|
* merge from gccDJ Delorie2009-03-231-3/+21
|
* merge from gccDJ Delorie2009-03-181-8/+63
|
* merge from gccDJ Delorie2009-01-071-12/+5
|
* merge from gccDJ Delorie2008-12-181-1/+8
|
* merge from gccDJ Delorie2008-12-101-0/+32
|
* merge from gccDJ Delorie2008-10-071-73/+225
|
* merge from gccDJ Delorie2008-09-091-9/+125
|
* merge from gccDJ Delorie2008-03-311-6/+10
|
* include/David Daney2008-01-271-0/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-26 David Daney <ddaney@avtrex.com> * demangle.h (demangle_component_type): Add DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER as new enum values. (demangle_component): Add struct s_character to union u. libiberty/ 2008-01-26 David Daney <ddaney@avtrex.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and DEMANGLE_COMPONENT_JAVA_RESOURCE cases. (d_make_character): New function. (d_java_resource): Same. (d_special_name): Handle "Gr" case. (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. * testsuite/demangle-expected: Add test for java resource name mangling.
* merge from gccDJ Delorie2007-08-311-1/+17
|
* 2007-07-31 Michael Snyder <msnyder@access-company.com>Michael Snyder2007-08-011-0/+6
| | | | * cp-demangle.c (d_print_comp): Guard against null.
* * cp-demangle.c (d_name): Detect local-source-name.Geoffrey Keating2007-05-061-1/+21
| | | | | (d_prefix): Likewise. (d_unqualified_name): Implement local-source-name.
* * cp-demangle.c (d_encoding): Exit early on error.Geoffrey Keating2007-03-161-2/+4
| | | | | | | (d_pointer_to_member_type): Exit early if cplus_demangle_type returns NULL. (cplus_demangle_type): Likewise. * testsuite/demangle-expected: New testcase.
* merge from gccDJ Delorie2007-01-301-312/+444
|
* * cp-demangle.h: Add comment explaining what to do to avoidGeoffrey Keating2006-12-211-29/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | overrunning string. (d_check_char): New. (d_next_char): Don't advance past trailing '\0'. * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char. (d_nested_name): Likewise. (d_special_name): Likewise. (d_call_offset): Likewise. (d_function_type): Likewise. (d_array_type): Likewise. (d_pointer_to_member_type): Likewise. (d_template_param): Likewise. (d_template_args): Likewise. (d_template_arg): Likewise. (d_expr_primary): Likewise. (d_local_name): Likewise. (d_substitution): Likewise. (d_ctor_dtor_name): Use d_advance rather than d_next_char. * testsuite/test-demangle.c: Include sys/mman.h. (MAP_ANONYMOUS): Define. (protect_end): New. (main): Use protect_end. * testsuite/demangle-expected: Add testcases for overrunning the end of the string.
* merge from gccDJ Delorie2006-09-221-0/+2
|
* merge from gccnickrob-async-20060828-mergepointDJ Delorie2006-08-281-1/+10
|
* merge from gccDJ Delorie2005-12-111-6/+23
|
* merge from gccDJ Delorie2005-07-031-1/+5
|