+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (struct line_header) <file_full_name,
+ file_file_name>: Declare methods.
+ (dw2_get_file_names_reader): Update.
+ (file_file_name): Now a method.
+ (file_full_name): Likewise.
+ (macro_start_file): Update.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (dwarf_always_disassemble)
+ (show_dwarf_always_disassemble): Move to loc.c.
+ (_initialize_dwarf2_read): Move "always-disassemble" registration
+ to loc.c.
+ * dwarf2/read.h (dwarf_always_disassemble): Don't declare.
+ * dwarf2/loc.c (dwarf_always_disassemble): Move from read.c. Now
+ static.
+ (show_dwarf_always_disassemble): Move from read.c.
+ (_initialize_dwarf2loc): Move always-disassemble from read.c.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (~dwarf2_per_objfile): Update.
+ (create_quick_file_names_table): Return htab_up.
+ (dw2_get_file_names_reader, dw2_forget_cached_source_info):
+ Update.
+ * dwarf2/read.h (struct dwarf2_per_objfile)
+ <quick_file_names_table>: Now htab_up.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/abbrev.c (abbrev_table::read): Simplify.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/abbrev.c (abbrev_table): Move constructor from header.
+ Rewrite.
+ (abbrev_table::add_abbrev, abbrev_table::lookup_abbrev): Rewrite.
+ * dwarf2/abbrev.h (struct abbrev_info) <next>: Remove.
+ (abbrev_table::abbrev_table): No longer inline.
+ (ABBREV_HASH_SIZE): Remove.
+ (abbrev_table::m_abbrevs): Now an htab_up.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (read_cutu_die_from_dwo): Update.
+ (cutu_reader): Update.
+ (build_type_psymtabs_1): Update.
+ * dwarf2/abbrev.c (abbrev_table::read): Rename.
+ (abbrev_table::alloc_abbrev): Update.
+ * dwarf2/abbrev.h (abbrev_table_up): Move earlier.
+ (abbrev_table::read): New static method, renamed from
+ abbrev_table_read_table.
+ (abbrev_table::alloc_abbrev)
+ (abbrev_table::add_abbrev): Now private.
+ (abbrev_table::abbrev_table): Now private.
+ (abbrev_table::m_abbrev_obstack): Now private. Rename.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (set_die_type, get_die_type_at_offset): Update.
+ * dwarf2/read.h (struct dwarf2_per_objfile) <die_type_hash>: Now
+ htab_up.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (struct dwp_file) <loaded_cus, loaded_tus>: Now
+ htab_up.
+ (lookup_dwo_unit_in_dwp): Update.
+ (allocate_dwp_loaded_cutus_table): Return htab_up. Don't allocate
+ on obstack.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (allocate_dwo_file_hash_table): Don't allocate on
+ obstack.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (~dwarf2_per_objfile): Don't delete
+ line_header_hash.
+ (handle_DW_AT_stmt_list): Update. Don't allocate on obstack.
+ * dwarf2/read.h (struct dwarf2_per_objfile) <line_header_hash>:
+ Change type to htab_up.
+
+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.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.h (struct dwarf2_per_objfile) <signatured_types>:
+ Change type to htab_up.
+ * dwarf2/read.c (create_signatured_type_table_from_index)
+ (create_signatured_type_table_from_debug_names)
+ (create_all_type_units, add_type_unit)
+ (lookup_dwo_signatured_type, lookup_signatured_type)
+ (process_skeletonless_type_unit): Update.
+ (create_debug_type_hash_table, create_debug_types_hash_table):
+ Change type of types_htab.
+ (allocate_signatured_type_table, allocate_dwo_unit_table): Return
+ htab_up. Don't allocate on obstack.
+ (create_cus_hash_table): Change type of cus_htab parameter.
+ (struct dwo_file) <cus, tus>: Now htab_up.
+ (lookup_dwo_signatured_type, lookup_dwo_cutu)
+ (process_dwo_file_for_skeletonless_type_units, lookup_dwo_cutu)
+ (queue_and_load_all_dwo_tus): Update.
+ * dwarf2/index-write.c (write_gdbindex): Update.
+ (write_debug_names): Update.
+
+2020-02-08 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.h (struct dwarf2_queue_item): Move from
+ dwarf2/read.c. Remove "next" member. Add constructor ntad
+ destructor.
+ (struct dwarf2_per_objfile) <queue>: New member.
+ * dwarf2/read.c (struct dwarf2_queue_item): Move to
+ dwarf2/read.h.
+ (dwarf2_queue, dwarf2_queue_tail): Remove.
+ (class dwarf2_queue_guard): Add parameter to constructor. Use
+ DISABLE_COPY_AND_ASSIGN.
+ <m_per_objfile>: New member.
+ <~dwarf2_queue_guard>: Rewrite.
+ (dw2_do_instantiate_symtab, queue_comp_unit, process_queue):
+ Update.
+ (~dwarf2_queue_item): New.
+
2020-02-08 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (struct die_info) <has_children>: New member.