summaryrefslogtreecommitdiff
path: root/gcc/dumpfile.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/dumpfile.c
parent70e18df76ed2ccce4f6695b7f848d25dfa31ce0e (diff)
downloadgcc-b4da704c6ea9e69c6733fe86b5045b00f2775462.tar.gz
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/dumpfile.c')
-rw-r--r--gcc/dumpfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dumpfile.c b/gcc/dumpfile.c
index 3dd41c42a7f..2f11284d488 100644
--- a/gcc/dumpfile.c
+++ b/gcc/dumpfile.c
@@ -64,6 +64,7 @@ static struct dump_file_info dump_files[TDI_end] =
DUMP_FILE_INFO (".original", "tree-original", DK_tree, 0),
DUMP_FILE_INFO (".gimple", "tree-gimple", DK_tree, 0),
DUMP_FILE_INFO (".nested", "tree-nested", DK_tree, 0),
+ DUMP_FILE_INFO (".lto-stream-out", "ipa-lto-stream-out", DK_ipa, 0),
#define FIRST_AUTO_NUMBERED_DUMP 1
#define FIRST_ME_AUTO_NUMBERED_DUMP 4