]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/lto-streamer.h
re PR go/78628 (GO fails to build a translation unit decl)
[thirdparty/gcc.git] / gcc / lto-streamer.h
index 7cf4b0b5fe96538e6df6a5bb3b600da817638ab4..cd33df8f392829f9e0c7eb761d75fd90adcde860 100644 (file)
@@ -1212,4 +1212,14 @@ DEFINE_DECL_STREAM_FUNCS (TYPE_DECL, type_decl)
 DEFINE_DECL_STREAM_FUNCS (NAMESPACE_DECL, namespace_decl)
 DEFINE_DECL_STREAM_FUNCS (LABEL_DECL, label_decl)
 
+/* Entry for the delayed registering of decl -> DIE references.  */
+struct dref_entry {
+    tree decl;
+    const char *sym;
+    unsigned HOST_WIDE_INT off;
+};
+
+extern vec<dref_entry> dref_queue;
+
+
 #endif /* GCC_LTO_STREAMER_H  */