Make dwarf2_per_objfile::all_comp_units an std::vector
[deliverable/binutils-gdb.git] / gdb / dwarf2read.h
index 24b5ff47e7eb6d05197fd078e10d203233216448..d0025324a5a3a034a636d28962b3ac56dd4895f5 100644 (file)
@@ -165,10 +165,7 @@ public:
 
   /* Table of all the compilation units.  This is used to locate
      the target compilation unit of a particular reference.  */
-  struct dwarf2_per_cu_data **all_comp_units = NULL;
-
-  /* The number of compilation units in ALL_COMP_UNITS.  */
-  int n_comp_units = 0;
+  std::vector<dwarf2_per_cu_data *> all_comp_units;
 
   /* The number of .debug_types-related CUs.  */
   int n_type_units = 0;
This page took 0.039696 seconds and 4 git commands to generate.