Commit 0281547a by Segher Boessenkool Committed by Segher Boessenkool

passes: Print a header in emergency_dump_function

Currently the emergency dump has no separation whatsoever from any
previous output in the dump file, making it harder than necessary
to find.


	* passes.c (emergency_dump_function): Print some empty lines and a
	header before the RTL dump.

From-SVN: r250481
parent 9fcaf059
2017-07-24 Segher Boessenkool <segher@kernel.crashing.org>
* passes.c (emergency_dump_function): Print some empty lines and a
header before the RTL dump.
2017-07-24 Segher Boessenkool <segher@kernel.crashing.org>
* cfgrtl.c (rtl_dump_bb): Don't call NEXT_INSN on NULL.
2017-07-24 Wilco Dijkstra <wdijkstr@arm.com>
......
......@@ -1796,6 +1796,7 @@ emergency_dump_function ()
if (!dump_file || !cfun)
return;
fnotice (stderr, "dump file: %s\n", dump_file_name);
fprintf (dump_file, "\n\n\nEMERGENCY DUMP:\n\n");
execute_function_dump (cfun, current_pass);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment