*参照元 [#h13a2af9] #backlinks *説明 [#db3fe051] -パス: [[gcc-8.3/gcc/passes.c]] -FIXME: これは何? --説明 **引数 [#g9227527] -function *fn -- --[[gcc-8.3/gcc/function]] -void *data -- **返り値 [#lb02ca20] -なし **参考 [#l152cd1b] *実装 [#ke7b53e0] /* Helper function to perform function body dump. */ static void execute_function_dump (function *fn, void *data) { opt_pass *pass = (opt_pass *)data; - --[[gcc-8.3/gcc/opt_pass]] if (dump_file) { push_cfun (fn); if (fn->curr_properties & PROP_trees) dump_function_to_file (fn->decl, dump_file, dump_flags); else print_rtl_with_bb (dump_file, get_insns (), dump_flags); - --[[gcc-8.3/gcc/push_cfun()]] --[[gcc-8.3/gcc/dump_file(global)]] --[[gcc-8.3/gcc/dump_function_to_file()]] --[[gcc-8.3/gcc/print_rtl_with_bb()]] --[[gcc-8.3/gcc/get_insns()]] /* Flush the file. If verification fails, we won't be able to close the file before aborting. */ fflush (dump_file); if ((fn->curr_properties & PROP_cfg) && (dump_flags & TDF_GRAPH)) { gcc::dump_manager *dumps = g->get_dumps (); struct dump_file_info *dfi = dumps->get_dump_file_info (pass->static_pass_number); if (!dfi->graph_dump_initialized) { clean_graph_dump_file (dump_file_name); dfi->graph_dump_initialized = true; } print_graph_cfg (dump_file_name, fn); } - --[[gcc-8.3/gcc/gcc/dump_manager]] --[[gcc-8.3/gcc/dump_file_info]] --[[gcc-8.3/gcc/gcc/dump_manager/get_dump_file_info()]] --[[gcc-8.3/gcc/clean_graph_dump_file()]] --[[gcc-8.3/gcc/print_graph_cfg()]] pop_cfun (); - --[[gcc-8.3/gcc/pop_cfun()]] } } *コメント [#w88714c2]