diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2018-07-13 21:09:13 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2018-07-13 19:09:13 +0000 |
commit | 814f3331877bd59654178543198e1801abee6acf (patch) | |
tree | ca2651c3bc627cf7d5c6c705641b7d7b65769400 /gcc/lto-streamer-out.c | |
parent | fb5f0c207eb0b04eb7a62a68641b0cca6d98d1a9 (diff) | |
download | gcc-814f3331877bd59654178543198e1801abee6acf.zip gcc-814f3331877bd59654178543198e1801abee6acf.tar.gz gcc-814f3331877bd59654178543198e1801abee6acf.tar.bz2 |
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
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r-- | gcc/lto-streamer-out.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |