From 68317985439c7eb789bd3046b633130fec03e52c Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 20 Sep 2016 07:37:53 +0000 Subject: debug.h (gcc_debug_hooks): Add filename parameter to early_finish hook. 2016-09-20 Richard Biener * debug.h (gcc_debug_hooks): Add filename parameter to early_finish hook. * debug.c (do_nothing_debug_hooks): Adjust. * dbxout.c (dbx_debug_hooks): Likewise. * sdbout.c (sdb_debug_hooks): Likewise. * dwarf2out.c (dwarf2_lineno_debug_hooks): Likewise. (dwarf2out_finish): Move producer, filename and path annotation ... (dwarf2out_early_finish): ... here. Remove in_lto_p special-casing. * cgraphunit.c (symbol_table::finalize_compilation_unit): Adjust. lto/ * lto.c (lto_main): Call early_finish with "" as filename. From-SVN: r240255 --- gcc/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/debug.h') diff --git a/gcc/debug.h b/gcc/debug.h index 6711f8b..34b63d7 100644 --- a/gcc/debug.h +++ b/gcc/debug.h @@ -31,7 +31,7 @@ struct gcc_debug_hooks void (* finish) (const char *main_filename); /* Run cleanups necessary after early debug generation. */ - void (* early_finish) (void); + void (* early_finish) (const char *main_filename); /* Called from cgraph_optimize before starting to assemble functions/variables/toplevel asms. */ -- cgit v1.1