aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-21 00:34:26 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:43 -0600
commit5ac045503de7dde6793b318f89d251addc161f66 (patch)
tree4c4300122ac2896dceeca5ccbfd12af40a984492 /gdb/buildsym.h
parent7ea05a7b634a895128e87c8c71e8e611758cd4bb (diff)
downloadgdb-5ac045503de7dde6793b318f89d251addc161f66.zip
gdb-5ac045503de7dde6793b318f89d251addc161f66.tar.gz
gdb-5ac045503de7dde6793b318f89d251addc161f66.tar.bz2
Move pending_blocks and pending_block_obstack to buildsym_compunit
This moves the pending_blocks and pending_block_obstack into buildsym_compunit. The obstack could perhaps be merged with the addrmap obstack, but I did not do that in this series. gdb/ChangeLog 2018-07-20 Tom Tromey <tom@tromey.com> * buildsym.h (class scoped_free_pendings): Remove constructor. * buildsym.c (struct buildsym_compunit) <free_pending_blocks>: New method. <m_pending_block_obstack, m_pending_blocks>: New members. (pending_block_obstack, pending_blocks): Remove. (scoped_free_pendings::scoped_free_pendings): Default. (~scoped_free_pendings): Update. (free_pending_blocks): Remove. (finish_block_internal, record_pending_block, make_blockvector) (end_symtab_get_static_block, augment_type_symtab, push_context) (buildsym_init): Update.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 9a4856d..e0668f8 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -157,7 +157,7 @@ class scoped_free_pendings
{
public:
- scoped_free_pendings ();
+ scoped_free_pendings () = default;
~scoped_free_pendings ();
DISABLE_COPY_AND_ASSIGN (scoped_free_pendings);