]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - include/simple-object.h
Sync libiberty/ & include/ with GCC
[thirdparty/binutils-gdb.git] / include / simple-object.h
index 8a8439bdb1a56af5379b5cfb0e5e5d3a082282ed..f1bf88ba998520d98ca32ccbd37133bb4774b6d1 100644 (file)
@@ -197,6 +197,14 @@ simple_object_write_to_file (simple_object_write *simple_object,
 extern void
 simple_object_release_write (simple_object_write *);
 
+/* Copy LTO debug sections from SRC_OBJECT to DEST.
+   If an error occurs, return the errno value in ERR and an error string.  */
+
+extern const char *
+simple_object_copy_lto_debug_sections (simple_object_read *src_object,
+                                      const char *dest,
+                                      int *err);
+
 #ifdef __cplusplus
 }
 #endif