From b4da704c6ea9e69c6733fe86b5045b00f2775462 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 13 Jun 2018 12:52:29 +0000 Subject: 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 --- gcc/lto-streamer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/lto-streamer.h') diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index 025929f..236fcc4 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -1221,5 +1221,6 @@ struct dref_entry { extern vec dref_queue; +extern FILE *streamer_dump_file; #endif /* GCC_LTO_STREAMER_H */ -- cgit v1.1