From 814f3331877bd59654178543198e1801abee6acf Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 13 Jul 2018 21:09:13 +0200 Subject: lto.c (do_stream_out): Add PART parameter; open dump file. * lto.c (do_stream_out): Add PART parameter; open dump file. (stream_out): Add PART parameter; pass it to do_stream_out. (lto_wpa_write_files): Update call of stream_out. * lto-streamer-out.c (copy_function_or_variable): Dump info about copying section. From-SVN: r262645 --- gcc/lto-streamer-out.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/lto-streamer-out.c') diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index bdbe591..78b90e7 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -2293,6 +2293,8 @@ copy_function_or_variable (struct symtab_node *node) struct lto_in_decl_state *in_state; struct lto_out_decl_state *out_state = lto_get_out_decl_state (); + if (streamer_dump_file) + fprintf (streamer_dump_file, "Copying section for %s\n", name); lto_begin_section (section_name, false); free (section_name); -- cgit v1.1