aboutsummaryrefslogtreecommitdiff
path: root/gcc/varpool.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2018-06-13 12:52:29 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2018-06-13 12:52:29 +0000
commitb4da704c6ea9e69c6733fe86b5045b00f2775462 (patch)
tree286664089f83791dda5d4e8d3f44b19193700875 /gcc/varpool.c
parent70e18df76ed2ccce4f6695b7f848d25dfa31ce0e (diff)
downloadgcc-b4da704c6ea9e69c6733fe86b5045b00f2775462.zip
gcc-b4da704c6ea9e69c6733fe86b5045b00f2775462.tar.gz
gcc-b4da704c6ea9e69c6733fe86b5045b00f2775462.tar.bz2
cgraph.c (cgraph_node::get_untransformed_body): Dump function bodies streamed in with -Q.
* cgraph.c (cgraph_node::get_untransformed_body): Dump function bodies streamed in with -Q. * dumpfile.c (dump_files): Add lto-stream-out dump file. * dumpfile.h (tree_dump_index): Add lto_stream_out. * gimple-streamer-out.c: Include gimple-pretty-print.h (output_bb): Dump stmts streamed. * lto-section-out.c: Include print-tree.h (lto_begin_section): Dump sections created. (lto_output_decl_index): Dump decl encoded. * lto-streamer-out.c: Include print-tree.h (create_output_block): Dump output block created. (DFS::DFS_write_tree_body): Dump DFS SCCs streamed. (output_function): Dump function output. (output_constructor): Dump constructor streamed. (write_global_stream): Output indexes encoded. (produce_asm_for_decls): Dump streams encoded. * lto-streamer.c (streamer_dump_file): New global var. * lto-streamer.h (streamer_dump_file): Declare. * passes.c (ipa_write_summaries): Initialize streamer dump. * varpool.c (varpool_node::get_constructor): Dump constructors streamed in. From-SVN: r261546
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r--gcc/varpool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c
index afba2de..4c90eea 100644
--- a/gcc/varpool.c
+++ b/gcc/varpool.c
@@ -307,6 +307,8 @@ varpool_node::get_constructor (void)
file_data->file_name,
name);
+ if (!quiet_flag)
+ fprintf (stderr, " in:%s", IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)));
lto_input_variable_constructor (file_data, this, data);
gcc_assert (DECL_INITIAL (decl) != error_mark_node);
lto_stats.num_function_bodies++;