aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-05-19 17:02:30 +0200
committerMartin Liska <marxin@gcc.gnu.org>2016-05-19 15:02:30 +0000
commitb898d037f36e31b1ec3c33e9b254c86b213138d3 (patch)
tree29895ab029af340313dd92aae40ea7874203c3d5 /gcc/lto-streamer.h
parentf65970cfd092c36035f7a3c683707c2604bcd4a3 (diff)
downloadgcc-b898d037f36e31b1ec3c33e9b254c86b213138d3.zip
gcc-b898d037f36e31b1ec3c33e9b254c86b213138d3.tar.gz
gcc-b898d037f36e31b1ec3c33e9b254c86b213138d3.tar.bz2
LTO: display file name if LTO version check fails
* lto-section-in.c (lto_get_section_data): Call lto_check_version with additional argument. * lto-streamer.c (lto_check_version): Add new argument. * lto-streamer.h (lto_check_version): Likewise. From-SVN: r236464
Diffstat (limited to 'gcc/lto-streamer.h')
-rw-r--r--gcc/lto-streamer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h
index 01c15ff..92efdb8 100644
--- a/gcc/lto-streamer.h
+++ b/gcc/lto-streamer.h
@@ -844,7 +844,7 @@ extern void lto_orig_address_map (tree, intptr_t);
extern intptr_t lto_orig_address_get (tree);
extern void lto_orig_address_remove (tree);
#endif
-extern void lto_check_version (int, int);
+extern void lto_check_version (int, int, const char *);
extern void lto_streamer_hooks_init (void);
/* In lto-streamer-in.c */