Message ID | a84c7a2d1f843f698d612bff11f3cf8ebde05ebf.1500903892.git.segher@kernel.crashing.org |
---|---|
State | New |
Headers | show |
On July 24, 2017 3:54:06 PM GMT+02:00, Segher Boessenkool <segher@kernel.crashing.org> wrote: >Currently the emergency dump has no separation whatsoever from any >previous output in the dump file, making it harder than necessary >to find. OK. > >Segher > > >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. > >--- > gcc/passes.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/gcc/passes.c b/gcc/passes.c >index 374f6f7..f5791ac 100644 >--- a/gcc/passes.c >+++ b/gcc/passes.c >@@ -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); > } >
diff --git a/gcc/passes.c b/gcc/passes.c index 374f6f7..f5791ac 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -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); }