Change dwarf2_per_objfile::signatured_types to be htab_up
[deliverable/binutils-gdb.git] / gdb / dwarf2 / index-write.c
index 3c9ccbba46d30094f63e5ee268306bb7c2ed2526..2cbf2ebd202d59f5e12b6404909e92c6888dadd6 100644 (file)
@@ -1461,7 +1461,7 @@ write_gdbindex (struct dwarf2_per_objfile *dwarf2_per_objfile, FILE *out_file,
       sig_data.objfile = objfile;
       sig_data.symtab = &symtab;
       sig_data.cu_index = dwarf2_per_objfile->all_comp_units.size ();
-      htab_traverse_noresize (dwarf2_per_objfile->signatured_types,
+      htab_traverse_noresize (dwarf2_per_objfile->signatured_types.get (),
                              write_one_signatured_type, &sig_data);
     }
 
@@ -1534,7 +1534,7 @@ write_debug_names (struct dwarf2_per_objfile *dwarf2_per_objfile,
       /* It is used only for gdb_index.  */
       sig_data.info.symtab = nullptr;
       sig_data.info.cu_index = 0;
-      htab_traverse_noresize (dwarf2_per_objfile->signatured_types,
+      htab_traverse_noresize (dwarf2_per_objfile->signatured_types.get (),
                              debug_names::write_one_signatured_type,
                              &sig_data);
     }
This page took 0.024001 seconds and 4 git commands to generate.