X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fsimple-object-common.h;h=2e3f1873468acb0aea66728935c2dfde7e9c5c64;hb=e822f2cda9bc484adb5f8860050640a5c6f1ced9;hp=bef9b08cef852e16612c1e92cac34c059175e116;hpb=07a8e9f0361a21ecced933a32e98a38e7b04d590;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/simple-object-common.h b/libiberty/simple-object-common.h index bef9b08cef..2e3f187346 100644 --- a/libiberty/simple-object-common.h +++ b/libiberty/simple-object-common.h @@ -1,5 +1,5 @@ /* simple-object-common.h -- common structs for object file manipulation. - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2020 Free Software Foundation, Inc. This file is part of the libiberty library. Libiberty is free software; you can redistribute it and/or @@ -141,6 +141,12 @@ struct simple_object_functions /* Release the private data for an simple_object_write. */ void (*release_write) (void *); + + /* Copy LTO debug sections. */ + const char *(*copy_lto_debug_sections) (simple_object_read *sobj, + simple_object_write *dobj, + char *(*pfn) (const char *), + int *err); }; /* The known object file formats. */