aboutsummaryrefslogtreecommitdiff
path: root/libiberty/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2009-06-16 PR 10197Nick Clifton1-5/+5
* testsuite/test-demangle.c: Rename getline to get_line to avoid conflicts with system function of the same name.
2009-03-23merge from gccDJ Delorie1-3/+7
2009-03-18merge from gccDJ Delorie1-7/+11
2008-10-07merge from gccDJ Delorie1-14/+18
2008-09-09merge from gccDJ Delorie1-0/+16
2008-04-18merge from gccDJ Delorie1-0/+20
2008-02-19 PR other/12618Ben Elliston1-1/+2
* testsuite/Makefile.in (mostlyclean): Remove any core file.
2008-01-27include/David Daney1-0/+4
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.
2007-05-06 * cp-demangle.c (d_name): Detect local-source-name.Geoffrey Keating1-0/+16
(d_prefix): Likewise. (d_unqualified_name): Implement local-source-name.
2007-03-16 * cp-demangle.c (d_encoding): Exit early on error.Geoffrey Keating1-0/+4
(d_pointer_to_member_type): Exit early if cplus_demangle_type returns NULL. (cplus_demangle_type): Likewise. * testsuite/demangle-expected: New testcase.
2007-03-05merge from gccDJ Delorie1-1/+2
2006-12-21 * cp-demangle.h: Add comment explaining what to do to avoidGeoffrey Keating2-4/+74
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.
2006-10-11merge from gccDJ Delorie1-1/+1
2006-09-22merge from gccDJ Delorie1-0/+5
2006-08-28merge from gccDJ Delorie1-0/+6
2006-04-07merge from gccDJ Delorie1-2/+2
2006-01-21merge from gccDJ Delorie2-1/+307
2005-12-11merge from gccDJ Delorie2-1/+31
2005-08-172005-08-17 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook3-4/+4
* strverscmp.c: Update FSF address. * testsuite/Makefile.in: Likewise. * testsuite/test-demangle.c: Likewise. * testsuite/test-pexecute.c: Likewise.
2005-07-03merge from gccDJ Delorie1-0/+6
2005-05-25include/Richard Henderson1-0/+4
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New. libiberty/ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS. (d_make_comp, d_print_comp): Likewise. (d_special_name): Generate one. * testsuite/demangle-expected: Add a hidden alias test.
2005-05-11merge from gccDJ Delorie3-4/+4
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton3-4/+4
2005-04-04merge from gccDJ Delorie1-2/+3
2005-03-29libiberty:Ian Lance Taylor2-0/+532
* pex-common.c: New file. * pex-one.c: New file. * pexecute.c: New file. * pex-common.h: Include <stdio.h>. (struct pex_obj): Define. (struct pex_funcs): Define. (pex_init_common): Declare. * pex-unix.c: Rewrite. * pex-win32.c: Rewrite. * pex-djgpp.c: Rewrite. * pex-msdos.c: Rewrite. * testsuite/text-pexecute.c: New file. * pexecute.txh: Rewrite. * configure.ac: Check for wait3 and wait4. Set CHECK to really-check rather than check-cplus-dem. * functions.texi: Rebuild. * Makefile.in: Rebuild dependencies. (CFILES): Add pexecute.c, pex-common.c, pex-one.c. (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o. * testsuite/Makefile.in (really-check): New target. (check-pexecute, test-pexecute): New targets. * configure: Rebuild. include: * libiberty.h: Include <stdio.h>. (PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define. (PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define. (PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define. (pex_init, pex_run, pex_read_output): Declare. (pex_get_status, pex_get_times, pex_free, pex_one): Declare. (struct pex_time): Define.
2004-06-28merge from gccDJ Delorie1-0/+5
2004-03-07merge from gccDJ Delorie1-1/+7
2004-02-25merge from gccDJ Delorie1-4/+4
2004-02-25merge from gccDJ Delorie1-2/+2
2004-02-24merge from gccDJ Delorie1-0/+18
2004-01-02merge from gccDJ Delorie2-758/+1648
2003-12-20merge from gccDJ Delorie1-0/+4
2003-12-19merge from gccDJ Delorie1-0/+21
2003-12-16merge from gccDJ Delorie1-0/+5
2003-12-15merge from gccDJ Delorie1-1/+11
2003-12-04merge from gccDJ Delorie1-0/+18
2003-12-01merge from gccDJ Delorie1-2/+13
2003-11-27merge from gccDJ Delorie1-0/+8
2003-11-21merge from gccDJ Delorie1-0/+21
2003-11-21merge from gccDJ Delorie1-5/+5
2003-11-18merge from gccDJ Delorie2-2/+2
2003-10-21merge from gccDJ Delorie1-1/+1
2003-10-20 * cplus-dem.c (demangle_template): Register a new Btype onlyJoel Brobecker1-0/+6
when needed. * testsuite/demangle-expected: Add a new test.
2003-10-162003-10-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* testsuite/demangle-expected: Update the expected output of _GLOBAL__I__Z2fnv.
2003-06-262003-06-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+261
* testsuite/demangle-expected: Add more GNU V3 testcases.
2003-06-05merge from gccDJ Delorie1-1/+1
2002-09-12merge from gccDJ Delorie4-60/+199
2002-07-10merge from gccDJ Delorie1-0/+4
2002-02-19merge from gccDJ Delorie1-0/+6
2002-02-18merge from gccDJ Delorie1-6/+6