aboutsummaryrefslogtreecommitdiff
path: root/include/demangle.h
AgeCommit message (Collapse)AuthorFilesLines
2015-07-14Remove trailing spaces in demangle.hH.J. Lu1-3/+3
2015-01-02ChangeLog rotatation and copyright year updateAlan Modra1-2/+1
2014-10-11Sync libiberty with upstream GCC.Iain Buclaw1-2/+9
include/ChangeLog * libiberty.h (PEX_STDOUT_APPEND): New flag. (PEX_STDERR_APPEND): Likewise. * demangle.h (DMGL_DLANG): New macro. (DMGL_STYLE_MASK): Add DMGL_DLANG. (demangling_styles): Add dlang_demangling. (DLANG_DEMANGLING_STYLE_STRING): New macro. (DLANG_DEMANGLING): New macro. (dlang_demangle): New prototype. * longlong.h: Add __udiv_w_sdiv prototype. libiberty/ChangeLog * cp-demangle.c (d_substitution): Handle abi tags on abbreviation. * pex-common.h (struct pex_funcs): Add new parameter for open_write field. * pex-unix.c (pex_unix_open_write): Add support for new parameter. * pex-djgpp.c (pex_djgpp_open_write): Likewise. * pex-win32.c (pex_win32_open_write): Likewise. * pex-common.c (pex_run_in_environment): Likewise. * Makefile.in (CFILES): Add d-demangle.c. (REQUIRED_OFILES): Add d-demangle.o. * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case. (cplus_demangle): Likewise. * d-demangle.c: New file. * testsuite/Makefile.in (really-check): Add check-d-demangle. * testsuite/d-demangle-expected: New file. * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly handle objects with more than SHN_LORESERVE sections. (simple_object_elf_write_shdr): Add sh_link parameter. (simple_object_elf_write_to_file): Correctly handle objects with more than SHN_LORESERVE sections. * cp-demangle.c (d_dump): Only access field from s_fixed part of the union for DEMANGLE_COMPONENT_FIXED_TYPE. (d_count_templates_scopes): Likewise. * testsuite/demangler-fuzzer.c: New file. * testsuite/Makefile.in (fuzz-demangler): New rule. (demangler-fuzzer): Likewise. (mostlyclean): Clean up demangler fuzzer.
2014-01-06libiberty: sync with gccBill Maddox1-0/+8
PR c++/41090 Add -fdeclone-ctor-dtor. include/ * demangle.h (enum gnu_v3_ctor_kinds): Added literal gnu_v3_unified_ctor. (enum gnu_v3_ctor_kinds): Added literal gnu_v3_unified_dtor. libiberty/ * cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor): Handle unified ctor/dtor. (d_ctor_dtor_name): Handle unified ctor/dtor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206182 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-03merge from gccDJ Delorie1-0/+6
2012-11-11merge from gccDJ Delorie1-0/+2
2012-10-10merge from gccDJ Delorie1-0/+3
2012-01-07merge from gccJason Merrill1-0/+5
2011-11-08merge from gccDJ Delorie1-2/+11
2011-09-23merge from gccDJ Delorie1-1/+3
2011-06-13merge from gccDJ Delorie1-1/+7
2011-01-03merge from gccDJ Delorie1-1/+1
2010-02-03merge from gccDJ Delorie1-0/+5
2010-01-11merge from gccDJ Delorie1-0/+3
2009-10-02merge from gccDJ Delorie1-0/+14
2009-09-03update copyright datesAlan Modra1-1/+1
2009-09-02merge from gccDJ Delorie1-1/+1
2009-09-02update copyright datesAlan Modra1-1/+1
2009-07-17merge from gccDJ Delorie1-0/+4
2009-03-18merge from gccDJ Delorie1-2/+4
2008-12-10merge from gccDJ Delorie1-0/+13
2008-10-07merge from gccDJ Delorie1-1/+3
2008-09-09merge from gccDJ Delorie1-1/+3
2008-01-27include/David Daney1-1/+15
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-08-31merge from gccDJ Delorie1-0/+3
2007-04-26merge from gccDJ Delorie1-14/+23
2007-01-30merge from gccDJ Delorie1-5/+36
2005-12-11merge from gccDJ Delorie1-0/+2
2005-05-25include/Richard Henderson1-0/+3
* 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-10Update the address and phone number of the FSF organizationNick Clifton1-2/+2
2005-03-27merge from gccDJ Delorie1-36/+34
2004-05-04merge from gccDJ Delorie1-1/+1
2004-01-13 * demangle.h: Instead of checking ANSI_PROTOTYPES, just includeIan Lance Taylor1-6/+1
"libiberty.h".
2004-01-13Merge from gcc.Ian Lance Taylor1-0/+5
2004-01-12merge from gccDJ Delorie1-2/+364
2003-07-062003-07-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+8
* demangle.h: Support C++.
2002-06-25merge from gccDJ Delorie1-2/+2
2002-02-05merge from gccDJ Delorie1-6/+3
2002-02-03merge from gccDJ Delorie1-0/+5
2001-12-06 * demangle.h (no_demangling): New.Richard Henderson1-0/+2
(NO_DEMANGLING_STYLE_STRING): New. * cplus-dem.c (libiberty_demanglers): Add no_demangling case. (cplus_demangle): Support no_demangling.
2001-10-07merge from gccDJ Delorie1-5/+5
2001-05-08merge from gccDJ Delorie1-2/+4
2001-03-20* libiberty/cp-demangle.c (struct demangling_def): New fields:Jim Blandy1-0/+26
is_constructor and is_destructor. (demangling_new): Initialize them. (demangle_ctor_dtor_name): Set them, if we detect a constructor or destructor. (demangle_v3_with_details, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): New functions. * include/demangle.h (enum gnu_v3_constructor_kinds, is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds, is_gnu_v3_mangled_dtor): New declarations.
2001-03-14Fix typos in ChangeLogs; add coff/external.h; fix copyright datesNick Clifton1-1/+2
2001-02-02merge from gccDJ Delorie1-1/+4
2000-12-05* demangle.h: Change "new_abi" to "v3" everywhere.DJ Delorie1-7/+7
2000-11-15 * demangle.h: Add gnat and java demangle styles.Hans-Peter Nilsson1-2/+9
2000-06-152000-06-15 H.J. Lu <hjl@gnu.org>H.J. Lu1-20/+45
* sort.h: New file. Impored from gcc. * hashtab.h: Updated from from gcc. 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * demangle.h (demangling_styles): Remove trailing comma in enum. * dyn-string.h (dyn_string_append_char): Change parameter from char to int. 2000-06-04 Alex Samuel <samuel@codesourcery.com> * dyn-string.h: Move here from gcc/dyn-string.h. Add new functions. * demangle.h (DMGL_GNU_NEW_ABI): New macro. (DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI. (current_demangling_style): Add gnu_new_abi_demangling. (GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro. (GNU_NEW_ABI_DEMANGLING): Likewise. (cplus_demangle_new_abi): New declaration.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+95