8sa1-binutils-gdb/gdb/dwarf2
Tom Tromey eaa5fa8b29 Change dwarf2_per_objfile::type_unit_groups to htab_up
This changes dwarf2_per_objfile::type_unit_groups to be an htab_up,
again allowing us to move the memory used by the hash table from the
objfile obstack to the heap.

2020-02-08  Tom Tromey  <tom@tromey.com>

	* dwarf2/read.c (allocate_type_unit_groups_table): Return
	htab_up.  Don't allocate on obstack.
	(get_type_unit_group, dwarf2_build_psymtabs_hard): Update.
	* dwarf2/read.h (struct dwarf2_per_objfile) <type_unit_groups>:
	Change type to htab_up.

Change-Id: Ia045df0ff3ec30aac813da5a9a2314a607ef7ec8
2020-02-08 13:43:24 -07:00
..
abbrev.c Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
abbrev.h Create dwarf2/abbrev.[ch] 2020-02-08 13:40:55 -07:00
attribute.c Change attr_form_is_block to be a method 2020-02-08 13:40:57 -07:00
attribute.h Change attr_form_is_block to be a method 2020-02-08 13:40:57 -07:00
expr.c Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
expr.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
frame-tailcall.c Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
frame-tailcall.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
frame.c Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
frame.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
index-cache.c Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
index-cache.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
index-common.c Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
index-common.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
index-write.c Change dwarf2_per_objfile::signatured_types to be htab_up 2020-02-08 13:43:03 -07:00
index-write.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
leb.c
leb.h
loc.c Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
loc.h Move DWARF code to dwarf2/ subdirectory 2020-02-08 13:40:59 -07:00
read.c Change dwarf2_per_objfile::type_unit_groups to htab_up 2020-02-08 13:43:24 -07:00
read.h Change dwarf2_per_objfile::type_unit_groups to htab_up 2020-02-08 13:43:24 -07:00
section.c Change section functions to be methods of dwarf2_section_info 2020-02-08 13:40:55 -07:00
section.h Change section functions to be methods of dwarf2_section_info 2020-02-08 13:40:55 -07:00