Allocate the address map on the psymtab obstack
authorTom Tromey <tom@tromey.com>
Thu, 10 May 2018 22:23:53 +0000 (16:23 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 10 Jan 2019 14:08:13 +0000 (07:08 -0700)
commit5923a04c0c489054d275e3b0441626ce1ae7344a
treeb295769dbfebc8aa112b435e6075067764ad54d3
parent6d6a12bf87bc6dd89b2533b5d0490fdcc00df9ad
Allocate the address map on the psymtab obstack

After this patch, the psymtab address map will now be allocated on the
psymtab obstack rather than the objfile obstack.  This also changes
the psymtab storage object to make the obstack private; this will be
used later.

gdb/ChangeLog
2019-01-10  Tom Tromey  <tom@tromey.com>

* psymtab.h (psymtab_storage::obstack): New method.
<m_obstack>: Rename from obstack; now private.
* psymtab.c (psymtab_storage): Update.
* dwarf2read.c (create_addrmap_from_index)
(create_addrmap_from_aranges, dwarf2_build_psymtabs_hard):
Update.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/psymtab.c
gdb/psymtab.h
This page took 0.078691 seconds and 4 git commands to generate.