diff options
author | Gary Benson <gbenson@redhat.com> | 2014-01-06 14:14:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-01-06 13:44:24 -0500 |
commit | fd259167db97c2b453be8029dc8b6893899e8b4e (patch) | |
tree | 85955a8a7d0791a8b660733ccc04e16d496fe253 /gold/dwp.cc | |
parent | eafbc3bf7b4ae9d85c833037413239c45393d266 (diff) | |
download | gdb-fd259167db97c2b453be8029dc8b6893899e8b4e.zip gdb-fd259167db97c2b453be8029dc8b6893899e8b4e.tar.gz gdb-fd259167db97c2b453be8029dc8b6893899e8b4e.tar.bz2 |
libiberty: sync with gcc
libiberty/ 2014-01-06 Gary Benson <gbenson@redhat.com>
* cp-demangle.c (struct d_print_info): New fields
next_saved_scope, copy_templates, next_copy_template and
num_copy_templates.
(d_count_templates): New function.
(d_print_init): New parameter "dc".
Estimate numbers of templates and scopes required.
(d_print_free): Removed function.
(cplus_demangle_print_callback): Allocate stack for
templates and scopes. Removed call to d_print_free.
(d_copy_templates): Removed function.
(d_save_scope): New function.
(d_get_saved_scope): Likewise.
(d_print_comp): Replace state saving/restoring code with
calls to d_save_scope and d_get_saved_scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206362 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gold/dwp.cc')
0 files changed, 0 insertions, 0 deletions