Share DWARF partial symtabs
[deliverable/binutils-gdb.git] / gdb / dwarf2 / read.h
index b53aab7be6383e1a0c94a54ba55afa0e5f0c235a..c52430a2d7a01316f08570a729a80d7391d6de70 100644 (file)
@@ -251,6 +251,11 @@ public:
   /* CUs that are queued to be read.  */
   std::queue<dwarf2_queue_item> queue;
 
+  /* We keep a separate reference to the partial symtabs, in case we
+     are sharing them between objfiles.  This is only set after
+     partial symbols have been read the first time.  */
+  std::shared_ptr<psymtab_storage> partial_symtabs;
+
 private:
 
   /* The total number of per_cu and signatured_type objects that have
This page took 0.022398 seconds and 4 git commands to generate.