]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/objfiles.h
gdb/jit: link to jit_objfile_data directly from the objfile struct
[thirdparty/binutils-gdb.git] / gdb / objfiles.h
index 56ff52119dc4de117d7b123307e3f19eab2d356a..b21b42663607bb46bdd073831ee8ac205d085f06 100644 (file)
@@ -36,6 +36,7 @@
 #include "bcache.h"
 #include "gdbarch.h"
 #include "gdbsupport/refcounted-object.h"
+#include "jit.h"
 
 struct htab;
 struct objfile_data;
@@ -697,6 +698,9 @@ public:
      store these here rather than in struct block.  Static links must be
      allocated on the objfile's obstack.  */
   htab_up static_links;
+
+  /* JIT-related data for this objfile.  */
+  std::unique_ptr<jit_objfile_data> jit_data = nullptr;
 };
 
 /* A deleter for objfile.  */