summaryrefslogtreecommitdiff
path: root/gcc/debug.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-20 07:37:53 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-20 07:37:53 +0000
commit6a4203b63394458cf9dd2aca591a168b2812097d (patch)
tree158e7af39eb7618b43edeed536be1eb66a38b29a /gcc/debug.c
parentee6c1f01104d437fa9da20c1353765d05e01dc4a (diff)
downloadgcc-6a4203b63394458cf9dd2aca591a168b2812097d.tar.gz
2016-09-20 Richard Biener <rguenther@suse.de>
* 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 "<artificial>" as filename. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240255 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/debug.c')
-rw-r--r--gcc/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/debug.c b/gcc/debug.c
index 9c2caaea695..3d658e883b8 100644
--- a/gcc/debug.c
+++ b/gcc/debug.c
@@ -26,7 +26,7 @@ const struct gcc_debug_hooks do_nothing_debug_hooks =
{
debug_nothing_charstar,
debug_nothing_charstar,
- debug_nothing_void, /* early_finish */
+ debug_nothing_charstar, /* early_finish */
debug_nothing_void,
debug_nothing_int_charstar,
debug_nothing_int_charstar,