diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2018-06-13 12:52:29 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2018-06-13 12:52:29 +0000 |
commit | b4da704c6ea9e69c6733fe86b5045b00f2775462 (patch) | |
tree | 286664089f83791dda5d4e8d3f44b19193700875 /gcc/lto-streamer.c | |
parent | 70e18df76ed2ccce4f6695b7f848d25dfa31ce0e (diff) | |
download | gcc-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/lto-streamer.c')
-rw-r--r-- | gcc/lto-streamer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c index 80717e5..f51d665 100644 --- a/gcc/lto-streamer.c +++ b/gcc/lto-streamer.c @@ -44,6 +44,8 @@ const char *section_name_prefix = LTO_SECTION_NAME_PREFIX; /* Set when streaming LTO for offloading compiler. */ bool lto_stream_offload_p; +FILE *streamer_dump_file; + /* Return a string representing LTO tag TAG. */ const char * |