[gdb/symtab] Fix infinite recursion in dwarf2_cu::get_builder(), again
[deliverable/binutils-gdb.git] / gdb / dwarf2 / read.h
index ae1608fa8222ddf902a54264417d09f3ecce45e8..ee454ad300a12a74c1e90190241906bbafcbe7a9 100644 (file)
@@ -579,6 +579,9 @@ struct dwarf2_per_objfile
   /* Table containing line_header indexed by offset and offset_in_dwz.  */
   htab_up line_header_hash;
 
+  /* The CU containing the m_builder in scope.  */
+  dwarf2_cu *sym_cu = nullptr;
+
 private:
   /* Hold the corresponding compunit_symtab for each CU or TU.  This
      is indexed by dwarf2_per_cu_data::index.  A NULL value means
This page took 0.024084 seconds and 4 git commands to generate.