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/dbxout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/dbxout.c') diff --git a/gcc/dbxout.c b/gcc/dbxout.c index ad256c7..5485a6c 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -344,7 +344,7 @@ const struct gcc_debug_hooks dbx_debug_hooks = { dbxout_init, dbxout_finish, - debug_nothing_void, + debug_nothing_charstar, debug_nothing_void, debug_nothing_int_charstar, debug_nothing_int_charstar, -- cgit v1.1