Introduce dwarf2_per_objfile::obstack
[deliverable/binutils-gdb.git] / gdb / dwarf2 / read.h
index bd743acc7150583a110cafd7440433b5547f5401..8dbda90aa592fc878294940341f8bd07d15d4a10 100644 (file)
@@ -126,6 +126,11 @@ private:
                        const dwarf2_debug_sections &names);
 
 public:
+  /* Objects that can be shared across objfiles are stored in this
+     obstack or on the psymtab obstack, while objects that are
+     objfile-specific are stored on the objfile obstack.  */
+  auto_obstack obstack;
+
   dwarf2_section_info info {};
   dwarf2_section_info abbrev {};
   dwarf2_section_info line {};
This page took 0.026907 seconds and 4 git commands to generate.